aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-11-21 09:00:35 +0100
committerMartin Kaiser <wireshark@kaiser.cx>2015-11-21 11:23:06 +0000
commitf711fbfae45d737142f30bdb1777d8c621d163de (patch)
tree5e93526875140283df21d28ec70d96ac8cb34859
parentfb11b8a8e2a4fa0c358b1b591cc0b3a9b35c806d (diff)
ISO14443: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I63f0b3891030ccc001f81fde94121adad37b555b Reviewed-on: https://code.wireshark.org/review/12004 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
-rw-r--r--epan/dissectors/packet-iso14443.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-iso14443.c b/epan/dissectors/packet-iso14443.c
index 68d904faeb..d408e75823 100644
--- a/epan/dissectors/packet-iso14443.c
+++ b/epan/dissectors/packet-iso14443.c
@@ -533,7 +533,7 @@ dissect_iso14443_cmd_type_attrib(tvbuff_t *tvb, packet_info *pinfo,
}
}
- return tvb_captured_length(tvb);
+ return offset;
}