aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sbus.c
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-22 18:04:26 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-22 18:04:26 +0000
commit9e9e4b004dfff64029620adc7f15bc4402270db9 (patch)
treec4c46d8877e358895f05eee97d88544c394c5ecc /epan/dissectors/packet-sbus.c
parent8178cd2f866a8abc2d2e10ced5efffb8a846db53 (diff)
Fix various warnings found by clang 3.0 (trunk 129935) complier:
- Extraneous parentheses - Use _U_ for unused function parameters instead of assigning the variable to itself git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36826 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sbus.c')
-rw-r--r--epan/dissectors/packet-sbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sbus.c b/epan/dissectors/packet-sbus.c
index e297c2d0b0..2e09802f4f 100644
--- a/epan/dissectors/packet-sbus.c
+++ b/epan/dissectors/packet-sbus.c
@@ -1696,7 +1696,7 @@ dissect_sbus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Response: Read system infomation (without interpretation of module info)*/
case SBUS_RD_SYSTEM_INFORMATION:
- if (((request_val->sysinfo) == 0x00)){ /*sysinfo 0*/
+ if (request_val->sysinfo == 0x00){ /*sysinfo 0*/
offset += 1; /* this byte is always 0x01*/
/*Add subtree for Data*/
dt = proto_tree_add_text(sbus_tree, tvb, offset,