aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-04-13 16:58:57 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-04-13 16:58:57 +0000
commitda74314d91bbb3b76e4da3c3193b113c70bfed3f (patch)
tree61af7326918d468d524fdb6329b7dbc9ad9c504f
parentb65207f6deff5faf508989cb1c22a4a93ec06725 (diff)
Initialize linelen to avoid a warning.
svn path=/trunk/; revision=24994
-rw-r--r--epan/dissectors/packet-smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smtp.c b/epan/dissectors/packet-smtp.c
index 0fc74426f8..a3d25e4fa2 100644
--- a/epan/dissectors/packet-smtp.c
+++ b/epan/dissectors/packet-smtp.c
@@ -167,7 +167,7 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
struct smtp_request_val *request_val;
const guchar *line;
guint32 code;
- int linelen;
+ int linelen = 0;
gint length_remaining;
gboolean eom_seen = FALSE;
gint next_offset;