aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2011-01-20 18:56:11 +0000
committerStephen Fisher <steve@stephen-fisher.com>2011-01-20 18:56:11 +0000
commitfc7b0c019bc36207b5f952ae2aa010b5eb5c2fc2 (patch)
tree40bfd91ae03d273aa0c527801d18c87ae20dfe38 /epan/tvbuff.c
parent9c04eb9b2c6f75f19daf47aa2d7957388260001e (diff)
Fix the dead initialization warnings found by clang's static analysis
("Value stored to 'xxx' during its initialization is never read") svn path=/trunk/; revision=35598
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 edb095a8d8..8aa1e7b503 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -3031,7 +3031,7 @@ tvb_find_line_end_unquoted(tvbuff_t *tvb, const gint offset, int len,
gint tvb_skip_wsp(tvbuff_t* tvb, const gint offset, const gint maxlength)
{
gint counter = offset;
- gint end = offset + maxlength,tvb_len;
+ gint end, tvb_len;
guint8 tempchar;
/* Get the length remaining */