@@ -296,7 +296,11 @@ static __always_inline int fse_in_checked_init64(fse_in_stream64 *s, fse_bit_cou
296296 }
297297
298298 if ((s -> accum_nbits < 56 || s -> accum_nbits >= 64 ) || ((s -> accum >> s -> accum_nbits ) != 0 )) {
299- return -1 ; /* the incoming input is wrong (encoder should have zeroed the upper bits) */
299+ /*
300+ * the incoming input is wrong (encoder should have zeroed the
301+ * upper bits)
302+ */
303+ return -1 ;
300304 }
301305
302306 return 0 ; /* OK */
@@ -324,7 +328,11 @@ static __always_inline int fse_in_checked_init32(fse_in_stream32 *s, fse_bit_cou
324328 }
325329
326330 if ((s -> accum_nbits < 24 || s -> accum_nbits >= 32 ) || ((s -> accum >> s -> accum_nbits ) != 0 )) {
327- return -1 ; /* the incoming input is wrong (encoder should have zeroed the upper bits) */
331+ /*
332+ * the incoming input is wrong (encoder should have zeroed the
333+ * upper bits)
334+ */
335+ return -1 ;
328336 }
329337
330338 return 0 ; /* OK */
@@ -345,9 +353,8 @@ static __always_inline int fse_in_checked_flush64(fse_in_stream64 *s, const uint
345353 const uint8_t * buf = (* pbuf ) - (nbits >> 3 );
346354 uint64_t incoming ;
347355
348- if (buf < buf_start ) {
356+ if (buf < buf_start )
349357 return -1 ; /* out of range */
350- }
351358 * pbuf = buf ;
352359 memcpy (& incoming , buf , 8 );
353360 /* Update the state object and verify its validity (in DEBUG). */
@@ -371,9 +378,8 @@ static __always_inline int fse_in_checked_flush32(fse_in_stream32 *s, const uint
371378 const uint8_t * buf = (* pbuf ) - (nbits >> 3 );
372379 uint32_t incoming ;
373380
374- if (buf < buf_start ) {
381+ if (buf < buf_start )
375382 return -1 ; /* out of range */
376- }
377383
378384 * pbuf = buf ;
379385
@@ -518,9 +524,8 @@ static __always_inline int fse_check_freq(const uint16_t *freq_table, const size
518524 size_t sum_of_freq = 0 ;
519525 int i ;
520526
521- for (i = 0 ; i < table_size ; i ++ ) {
527+ for (i = 0 ; i < table_size ; i ++ )
522528 sum_of_freq += freq_table [i ];
523- }
524529 return (sum_of_freq > number_of_states ) ? -1 : 0 ;
525530}
526531
0 commit comments