summaryrefslogtreecommitdiff
path: root/ext/compressors
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-03-21 10:21:02 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-03-21 10:21:02 -0400
commit55148858634546f459e236f140c6539d938f0255 (patch)
tree7cd71973c8cae3681c9ac8c9873c9454bc457912 /ext/compressors
parent76769387c81973336cf158d5a00ccf3ecd5fe68c (diff)
downloadmongo-55148858634546f459e236f140c6539d938f0255.tar.gz
snappy_compress.c:73:9: warning: will never be executed [-Wunreachable-code]
The snappy_status type only has 3 values, all of which are listed.
Diffstat (limited to 'ext/compressors')
-rw-r--r--ext/compressors/snappy/snappy_compress.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/compressors/snappy/snappy_compress.c b/ext/compressors/snappy/snappy_compress.c
index 77605806e25..9b5967e3b08 100644
--- a/ext/compressors/snappy/snappy_compress.c
+++ b/ext/compressors/snappy/snappy_compress.c
@@ -69,9 +69,6 @@ wt_snappy_error(WT_COMPRESSOR *compressor,
break;
case SNAPPY_OK:
return (0);
- default:
- msg = "unknown error";
- break;
}
(void)wt_api->err_printf(wt_api,