Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
authoralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Apr 2011 13:45:14 +0000 (13:45 +0000)
committeralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Apr 2011 13:45:14 +0000 (13:45 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36765 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-usb.c

index 03802bd566194f67a846c2233495582c3590682b..fd65c2ffb8bebac0d63fba4117b18c77edc3891f 100644 (file)
@@ -1304,7 +1304,6 @@ dissect_usb_configuration_descriptor(packet_info *pinfo _U_, proto_tree *parent_
     flags&=~0x40;
     proto_tree_add_item(flags_tree, hf_usb_configuration_remotewakeup, tvb, offset, 1, TRUE);
     proto_item_append_text(flags_item, "  %sREMOTE-WAKEUP", (flags&0x20)?"":"NO ");
-    flags&=~0x20;
     offset++;
 
     /* bMaxPower */