summaryrefslogtreecommitdiff
path: root/epan/tvbuff.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-05-15 21:56:02 +0000
committerGerald Combs <gerald@wireshark.org>2012-05-15 21:56:02 +0000
commit21b325691813deb4416d5bc0174164ff11193ae4 (patch)
tree97ba4faae92819bfb086d85e6918246233239fb3 /epan/tvbuff.c
parent101e304d4e911e423adc971a723ab02a6d165b27 (diff)
downloadwireshark-21b325691813deb4416d5bc0174164ff11193ae4.tar.gz
Assign some variables that scan-build was complaining about.
svn path=/trunk/; revision=42638
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 7fe63c1cc1..25cf2a7c6c 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -939,7 +939,7 @@ ensure_contiguous_no_exception(tvbuff_t *tvb, const gint offset, const gint leng
static const guint8*
ensure_contiguous(tvbuff_t *tvb, const gint offset, const gint length)
{
- int exception;
+ int exception = 0;
const guint8 *p;
p = ensure_contiguous_no_exception(tvb, offset, length, &exception);