Fix a few "equality comparison with extraneous parentheses" warnings

found by clang 3.0 (trunk 129935) compiler.


svn path=/trunk/; revision=36820
This commit is contained in:
Stephen Fisher 2011-04-22 17:31:57 +00:00
parent 56237d0c90
commit faeaaaf8d0
2 changed files with 3 additions and 3 deletions

View 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) {

View 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) {