diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2011-01-20 18:56:11 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2011-01-20 18:56:11 +0000 |
commit | fc7b0c019bc36207b5f952ae2aa010b5eb5c2fc2 (patch) | |
tree | 40bfd91ae03d273aa0c527801d18c87ae20dfe38 /epan/tvbuff.c | |
parent | 9c04eb9b2c6f75f19daf47aa2d7957388260001e (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.c | 2 |
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 */ |