summaryrefslogtreecommitdiff
path: root/wsutil/sober128.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-06-25 21:28:23 +0200
committerJeff Morriss <jeff.morriss.ws@gmail.com>2014-06-26 02:41:48 +0000
commitb632c23a3b55227599ec93adf1400f9c7dfcfd1f (patch)
tree3ca2d80d53cd23db46415b4ce3a8420b3b03b5d1 /wsutil/sober128.c
parent81963e7f1a5c7b19b414a4de210cc65c62aee27c (diff)
downloadwireshark-b632c23a3b55227599ec93adf1400f9c7dfcfd1f.tar.gz
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I5c66a456b7986e3fd7672deaf7ce773467873324 Reviewed-on: https://code.wireshark.org/review/2653 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Diffstat (limited to 'wsutil/sober128.c')
-rw-r--r--wsutil/sober128.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/wsutil/sober128.c b/wsutil/sober128.c
index d117552700..6c40fce5fe 100644
--- a/wsutil/sober128.c
+++ b/wsutil/sober128.c
@@ -839,7 +839,6 @@ unsigned long sober128_read(unsigned char *buf, unsigned long nbytes, sober128_p
{
ulong32 t, tlen;
- t = 0;
tlen = nbytes;
/* handle any previously buffered bytes */