Fix a few "equality comparison with extraneous parentheses" warnings
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 22 Apr 2011 17:31:57 +0000 (17:31 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 22 Apr 2011 17:31:57 +0000 (17:31 +0000)
found by clang 3.0 (trunk 129935) compiler.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36820 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-h248_3gpp.c
epan/dissectors/packet-h248_q1950.c

index abe4e98e30da6466c10f7cf2a446f0c6528abc96..4b90a2be40e701643a39d533b0b5dbc2ac146aee 100644 (file)
@@ -295,7 +295,7 @@ static void dissect_3GTFO_codec_mode(proto_tree* tree, tvbuff_t* tvb, packet_inf
        get_ber_identifier(tvb, 0, &class, &pc, &tag);
 
        /* XXX: is this enough to guess it? */
-       if ((tag==BER_UNI_TAG_OCTETSTRING)) {
+       if (tag==BER_UNI_TAG_OCTETSTRING) {
                dissect_ber_octet_string(FALSE, &asn1_ctx, tree, tvb, 0, hfid, &sub_tvb );
 
                if (sub_tvb) {
@@ -319,7 +319,7 @@ static void dissect_3GTFO_codec_list(proto_tree* tree, tvbuff_t* tvb, packet_inf
 
        get_ber_identifier(tvb, 0, &class, &pc, &tag);
 
-       if ((tag==BER_UNI_TAG_OCTETSTRING)) {
+       if (tag==BER_UNI_TAG_OCTETSTRING) {
                dissect_ber_octet_string(FALSE, &asn1_ctx, tree, tvb, 0, hfid, &sub_tvb );
 
                if (sub_tvb) {
index e211e0eca5a5fcc57ea9ad3d4939e3867c68c059..da1a2a716727050382b073e0470a1eec0d742e14 100644 (file)
@@ -291,7 +291,7 @@ static void dissect_bt_tunneled_proto(proto_tree* tree, tvbuff_t* tvb, packet_in
        get_ber_identifier(tvb, 0, &class, &pc, &tag);
 
        /* XXX: is this enough to guess it? */
-       if ((tag==BER_UNI_TAG_OCTETSTRING)) {
+       if (tag==BER_UNI_TAG_OCTETSTRING) {
                dissect_ber_octet_string(FALSE, &asn1_ctx, tree, tvb, 0, hfid, &bctp_tvb);
 
                if (bctp_tvb) {