diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-05 22:36:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-05 22:36:52 +0000 |
commit | 30086281385511c9219a24e86c73373f9176fe94 (patch) | |
tree | ed122df13ee425c5b91fce2ee1897c3326c7382b | |
parent | efdef9c5aa2fd607a7f86f0fee35a8d1f379b0e8 (diff) |
Squelch a compiler warning.
svn path=/trunk/; revision=15695
-rw-r--r-- | asn1/acse/acse.cnf | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-acse.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-acse.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/asn1/acse/acse.cnf b/asn1/acse/acse.cnf index 34b5c79526..592f53f792 100644 --- a/asn1/acse/acse.cnf +++ b/asn1/acse/acse.cnf @@ -82,7 +82,7 @@ ACRQ-apdu/aSO-context-name aCRQ_aSO_context_name &indir_ref); /* look up the indirect reference */ - if(oid = find_oid_by_pres_ctx_id(pinfo, indir_ref)) { + if((oid = find_oid_by_pres_ctx_id(pinfo, indir_ref)) != NULL) { strcpy(object_identifier_id, oid); } diff --git a/epan/dissectors/packet-acse.c b/epan/dissectors/packet-acse.c index a259bcd3ff..118f816f9a 100644 --- a/epan/dissectors/packet-acse.c +++ b/epan/dissectors/packet-acse.c @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Ethereal dissector compiler */ -/* .\packet-acse.c */ +/* ./packet-acse.c */ /* ../../tools/asn2eth.py -X -b -e -p acse -c acse.cnf -s packet-acse-template acse.asn */ /* Input file: packet-acse-template.c */ @@ -325,7 +325,7 @@ dissect_acse_T_indirect_reference(gboolean implicit_tag _U_, tvbuff_t *tvb, int &indir_ref); /* look up the indirect reference */ - if(oid = find_oid_by_pres_ctx_id(pinfo, indir_ref)) { + if((oid = find_oid_by_pres_ctx_id(pinfo, indir_ref)) != NULL) { strcpy(object_identifier_id, oid); } diff --git a/epan/dissectors/packet-acse.h b/epan/dissectors/packet-acse.h index 32bada1058..2cf1e27146 100644 --- a/epan/dissectors/packet-acse.h +++ b/epan/dissectors/packet-acse.h @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Ethereal dissector compiler */ -/* .\packet-acse.h */ +/* ./packet-acse.h */ /* ../../tools/asn2eth.py -X -b -e -p acse -c acse.cnf -s packet-acse-template acse.asn */ /* Input file: packet-acse-template.h */ |