summaryrefslogtreecommitdiff
path: root/epan/tvbuff.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:36:07 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:36:07 +0000
commit99c039e0d375f625a9f702d3e1ae0f42a8dd23a5 (patch)
treecd1877a9e9bb6bf37fcc6b0f3b59d40a230843b8 /epan/tvbuff.c
parent0e876f1ab2751ffdbdf05ead82f10aab1cbfcd65 (diff)
downloadwireshark-99c039e0d375f625a9f702d3e1ae0f42a8dd23a5.tar.gz
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40473
Diffstat (limited to 'epan/tvbuff.c')
-rw-r--r--epan/tvbuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c
index 4511a0ab8e..50bf5e8590 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -3534,7 +3534,7 @@ tvb_uncompress(tvbuff_t *tvb, const int offset, int comprlen)
comprlen -= (int) (c - compr);
inflateEnd(strm);
- err = inflateInit2(strm, wbits);
+ inflateInit2(strm, wbits);
inits_done++;
} else if (err == Z_DATA_ERROR && uncompr == NULL &&
inits_done <= 3) {