aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-icap.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-01-06 14:50:18 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-01-06 14:50:18 +0000
commit0c22e572c6feb366348a67068dfc2e1ff3f385f2 (patch)
tree84ad68fb00de0318599966affa5a41224f5b508d /epan/dissectors/packet-icap.c
parent3bf44b5a2705639841b0d53339f21c0125c9ad82 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=46963
Diffstat (limited to 'epan/dissectors/packet-icap.c')
-rw-r--r--epan/dissectors/packet-icap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-icap.c b/epan/dissectors/packet-icap.c
index 42a18e6a64..5dda1f4d08 100644
--- a/epan/dissectors/packet-icap.c
+++ b/epan/dissectors/packet-icap.c
@@ -123,7 +123,6 @@ dissect_icap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
* find header format
*/
if (is_icap_message(line, linelen, &icap_type)) {
- is_icap = TRUE;
goto is_icap_header;
}
@@ -131,7 +130,6 @@ dissect_icap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
* if it looks like a blank line, end of header perhaps?
*/
if (linelen == 0) {
- is_icap = TRUE;
goto is_icap_header;
}
@@ -201,7 +199,6 @@ dissect_icap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
* This ends the token; we consider this
* to be a header.
*/
- is_icap = TRUE;
goto is_icap_header;
}
}