From af3ae8ceead9642723b06b31690c7c0a73ef11f6 Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Mon, 10 Oct 2011 23:45:33 +0000 Subject: [PATCH] Fix "unused variable" compile error. svn path=/trunk/; revision=39352 --- epan/dissectors/packet-iscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epan/dissectors/packet-iscsi.c b/epan/dissectors/packet-iscsi.c index 547e6175a0..f82d524f7c 100644 --- a/epan/dissectors/packet-iscsi.c +++ b/epan/dissectors/packet-iscsi.c @@ -1387,8 +1387,8 @@ dissect_iscsi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint off } else if(opcode == ISCSI_OPCODE_SNACK_REQUEST) { /* SNACK Request */ { - gint b = tvb_get_guint8(tvb, offset + 1); #if 0 + gint b = tvb_get_guint8(tvb, offset + 1); proto_item *tf = proto_tree_add_uint(ti, hf_iscsi_Flags, tvb, offset + 1, 1, b); proto_tree *tt = proto_item_add_subtree(tf, ett_iscsi_Flags); #endif