diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2011-04-21 13:42:15 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2011-04-21 13:42:15 +0000 |
commit | ab2e9334493d5b86600018c0bcd1c7f908e52857 (patch) | |
tree | 8c4820f86505ca402138e88ac4ddb3fbc87098b9 /epan/dissectors/packet-smtp.c | |
parent | d555a8eb6d0ac505b3522de3546e60fcea5da226 (diff) |
Remove is_continuation_line variable (Unused for 3 years with add SMTP Command Pipelining (RFC2920) Rev24989)
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=36763
Diffstat (limited to 'epan/dissectors/packet-smtp.c')
-rw-r--r-- | epan/dissectors/packet-smtp.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/epan/dissectors/packet-smtp.c b/epan/dissectors/packet-smtp.c index d4512ee45c..017ef4605e 100644 --- a/epan/dissectors/packet-smtp.c +++ b/epan/dissectors/packet-smtp.c @@ -261,7 +261,6 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) gboolean eom_seen = FALSE; gint next_offset; gint loffset = 0; - gboolean is_continuation_line; int cmdlen; fragment_data *frag_msg = NULL; tvbuff_t *next_tvb; @@ -788,12 +787,6 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } else cmdresp_tree = NULL; - /* - * Is it a continuation line? - */ - is_continuation_line = - (linelen >= 4 && tvb_get_guint8(tvb, offset + 3) == '-'); - line = tvb_get_ptr(tvb, offset, linelen); if (linelen >= 3 && isdigit(line[0]) && isdigit(line[1]) && isdigit(line[2])) { @@ -834,11 +827,6 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) */ offset = next_offset; - /* - * If it's not a continuation line, quit. - */ - /* if (!is_continuation_line) - break; */ } } } |