aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wtp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-02-01 09:22:07 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-02-01 09:22:07 +0000
commit794daaa88264d5f9ebec463b115bde47b6b4afe7 (patch)
treeedc45715297c8676afbca5d4b746aefbd376993f /epan/dissectors/packet-wtp.c
parentda2a2f39bdf810977e95636872c2bcbc173bd980 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=47412
Diffstat (limited to 'epan/dissectors/packet-wtp.c')
-rw-r--r--epan/dissectors/packet-wtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-wtp.c b/epan/dissectors/packet-wtp.c
index da8415da0d..137bceefbc 100644
--- a/epan/dissectors/packet-wtp.c
+++ b/epan/dissectors/packet-wtp.c
@@ -458,8 +458,8 @@ dissect_wtp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
break;
};
if (fRID) {
- returned_length = g_snprintf(&szInfo[str_index], SZINFO_SIZE-str_index, " R" );
- str_index += MIN(returned_length, SZINFO_SIZE-str_index);
+ /*returned_length =*/ g_snprintf(&szInfo[str_index], SZINFO_SIZE-str_index, " R" );
+ /*str_index += MIN(returned_length, SZINFO_SIZE-str_index);*/
};
/* In the interest of speed, if "tree" is NULL, don't do any work not
necessary to generate protocol tree items. */