]> git.ipfire.org Git - thirdparty/zstd.git/commit
lib/common: warning: this statement may fall through 690/head
authorJos Collin <jcollin@redhat.com>
Tue, 9 May 2017 03:06:05 +0000 (08:36 +0530)
committerJos Collin <jcollin@redhat.com>
Thu, 11 May 2017 03:40:02 +0000 (09:10 +0530)
commit05286fdd5af5dc26f54c4cc778b6eff21bd094a7
tree792f83dc8facbb99a97ef590c8a6912048249b28
parenta8ced49db3634a102ba2cc844823428f43f7be05
lib/common: warning: this statement may fall through

The following warning appears during the build. Fixed the review comments too.

zstd/lib/common/bitstream.h: In function ‘BIT_initDStream’:
zstd/lib/common/bitstream.h:277:33: warning: this statement may fall through [-Wimplicit-fallthrough=]
      case 7: bitD->bitContainer += (size_t)(((const BYTE*)(srcBuffer))[6]) <<
      (sizeof(bitD->bitContainer)*8 - 16);

Signed-off-by: Jos Collin <jcollin@redhat.com>
lib/common/bitstream.h