diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2011-04-26 14:41:49 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2011-04-26 14:41:49 +0000 |
commit | e95cbfcecf3ffa0245922f7c0fe09f74343d3bfc (patch) | |
tree | fac9b9639ce6abaccbb47ff28d3b8166a54822dc /epan/dissectors/packet-homeplug.c | |
parent | c09449b55d07616d0d08bb9c71d4dcefff961864 (diff) |
Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=36870
Diffstat (limited to 'epan/dissectors/packet-homeplug.c')
-rw-r--r-- | epan/dissectors/packet-homeplug.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-homeplug.c b/epan/dissectors/packet-homeplug.c index 0d5bed0467..b4c532c72a 100644 --- a/epan/dissectors/packet-homeplug.c +++ b/epan/dissectors/packet-homeplug.c @@ -585,7 +585,6 @@ static void dissect_homeplug_cer(ptvcursor_t * cursor) /* Dissection of Vendor Specific MME */ static void dissect_homeplug_vs(ptvcursor_t * cursor) { - int mid; proto_item * it = NULL; if (!ptvcursor_tree(cursor)) @@ -598,8 +597,6 @@ static void dissect_homeplug_vs(ptvcursor_t * cursor) ptvcursor_add(cursor, hf_homeplug_vs_oui, 3, FALSE); it = ptvcursor_add_no_advance(cursor, hf_homeplug_vs_mid, 1, FALSE); - mid = tvb_get_guint8(ptvcursor_tvbuff(cursor), - ptvcursor_current_offset(cursor)) & HOMEPLUG_VS_MID; ptvcursor_push_subtree(cursor, it, ett_homeplug_vs_mid); { |