aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rr.c
diff options
context:
space:
mode:
authoralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>2012-01-05 08:29:58 +0000
committeralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>2012-01-05 08:29:58 +0000
commit0c20e57457b505fbf25ad9fb47a350e041449bbc (patch)
tree902c2a91f368df0af5a0d71683e39e83940f43b0 /epan/dissectors/packet-gsm_a_rr.c
parent66d70eff3553fd49afe708afece3bc0010a91362 (diff)
Fix the following error :
packet-gsm_a_rr.c: In function 'de_rr_p2_rest_oct': packet-gsm_a_rr.c:4033:105: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40386 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rr.c')
-rw-r--r--epan/dissectors/packet-gsm_a_rr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_rr.c b/epan/dissectors/packet-gsm_a_rr.c
index a62941959b..a32e81a664 100644
--- a/epan/dissectors/packet-gsm_a_rr.c
+++ b/epan/dissectors/packet-gsm_a_rr.c
@@ -4030,7 +4030,7 @@ de_rr_p2_rest_oct(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint
bit_offset += 3;
proto_item_append_text(item2, " for Mobile Identity 1");
}
- if (gsm_rr_csn_HL_flag(tvb, subtree, tvb_len, bit_offset++, "Priority 2", "Present", "Not present"));
+ if (gsm_rr_csn_HL_flag(tvb, subtree, tvb_len, bit_offset++, "Priority 2", "Present", "Not present"))
{
item2 = proto_tree_add_bits_item(subtree, hf_gsm_a_call_prio, tvb, bit_offset, 3, FALSE);
bit_offset += 3;