From 626e59303a45bc95bef647a1d22a3e1a47f48c32 Mon Sep 17 00:00:00 2001 From: ip_gpu Date: Thu, 26 Oct 2017 10:46:00 +0500 Subject: [PATCH] fix V796 from PVS-Studio It is possible that 'break' statement is missing in switch statement. --- src/io/ZlibCompression.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/io/ZlibCompression.cc b/src/io/ZlibCompression.cc index e3021a39..e2bbc776 100644 --- a/src/io/ZlibCompression.cc +++ b/src/io/ZlibCompression.cc @@ -234,6 +234,7 @@ ZlibDecoderCompressionWriter::ZlibDecoderCompressionWriter(DecoderWriter *w, break; case Z_STREAM_ERROR: always_assert(ret == Z_OK && "Specified integrity check but not supported"); + break; default: always_assert(ret == Z_OK && "the stream decoder was not initialized properly"); }