aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-agentx.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2011-04-21 13:31:04 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2011-04-21 13:31:04 +0000
commit60ff532086a9473e71a13ce5054a23084dd153ba (patch)
treeef8c433aab6e771cd56146a59e81471a75ddfd58 /epan/dissectors/packet-agentx.c
parent43851d797dab492414fc9cf09910d61e29465522 (diff)
Fix Dead Store (Dead nested assignment) Warning found by Clang
svn path=/trunk/; revision=36752
Diffstat (limited to 'epan/dissectors/packet-agentx.c')
-rw-r--r--epan/dissectors/packet-agentx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-agentx.c b/epan/dissectors/packet-agentx.c
index 989e2d7aeb..5deab7580f 100644
--- a/epan/dissectors/packet-agentx.c
+++ b/epan/dissectors/packet-agentx.c
@@ -356,7 +356,7 @@ dissect_object_id(tvbuff_t *tvb, proto_tree *tree, int offset, char flags, enum
NORLEL(flags, oid[i], tvb, (offset+4) + (i*4));
}
- if(!(slen = convert_oid_to_str(&oid[0], n_subid, &str_oid[0], 2048, prefix)))
+ if(!convert_oid_to_str(&oid[0], n_subid, &str_oid[0], 2048, prefix))
slen = g_snprintf(&str_oid[0], 2048, "(null)");
if(tree) {