Move generated dissctors that are causing problems to DIRTY.

packet-x11.c: hundreds of:

/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h: In function ‘xselinuxGetClientContext’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h:27994:9: warning: variable ‘f_resource’ set but not used [-Wunused-but-set-variable]
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/x11-extension-implementation.h: In function ‘xselinuxGetClientContext_Reply’:

dissectors/packet-dcerpc-mapi.c: set but not used
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-dcerpc-mapi.c: In function ‘mapi_dissect_struct_Release_req’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-dcerpc-mapi.c:8592:14: warning: variable ‘tree’ set but not used [-Wunused-but-set-variable]
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-dcerpc-mapi.c: In function ‘mapi_dissect_struct_Release_repl’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-dcerpc-mapi.c:8617:14: warning: variable ‘tree’ set but not used [-Wunused-but-set-variable]
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-dcerpc-mapi.c: In function ‘mapi_dissect_struct_RecipSMTP’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-dcerpc-mapi.c:8848:14: warning: variable ‘tree’ set but not used [-Wunused-but-set-variable]


dissecots/packet-dcerpc-drsuapi.c: set but not used
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-dcerpc-drsuapi.c: In function ‘drsuapi_dissect_DsGetNCChangesCtr7’:
/home/jmayer/work/wireshark/svn/trunk/epan/dissectors/packet-dcerpc-drsuapi.c:2920:17: warning: variable ‘tree’ set but not used [-Wunused-but-set-variable]

Btw.: Does it really make sense to use an extra CMakefile for the dcerpc/ dir?
      I'd rather the the idl2wrs.c in tools/ and the generatorstuff in epan/CMake

More files with the same problem.

svn path=/trunk/; revision=39968
This commit is contained in:
Jörg Mayer 2011-11-21 13:52:35 +00:00
parent ffc843e501
commit c946b6c3a2
2 changed files with 7 additions and 5 deletions

View File

@ -163,7 +163,6 @@ set(PIDL_DISSECTOR_SRC
# dissectors/packet-dcerpc-butc.c
# dissectors/packet-dcerpc-drsuapi.c
dissectors/packet-dcerpc-atsvc.c
dissectors/packet-dcerpc-dfs.c
dissectors/packet-dcerpc-dssetup.c
dissectors/packet-dcerpc-efs.c
dissectors/packet-dcerpc-frstrans.c
@ -175,6 +174,7 @@ set(PIDL_DISSECTOR_SRC
dissectors/packet-dcerpc-wzcsvc.c
)
set(DIRTY_PIDL_DISSECTOR_SRC
dissectors/packet-dcerpc-dfs.c
dissectors/packet-dcerpc-dnsserver.c
dissectors/packet-dcerpc-eventlog.c
dissectors/packet-dcerpc-lsa.c
@ -596,7 +596,7 @@ set(DISSECTOR_SRC
dissectors/packet-gprs-llc.c
dissectors/packet-gre.c
dissectors/packet-gsm_a_bssmap.c
dissectors/packet-gsm_a_common.c
# dissectors/packet-gsm_a_common.c
dissectors/packet-gsm_a_dtap.c
dissectors/packet-gsm_a_gm.c
dissectors/packet-gsm_a_rp.c
@ -1110,7 +1110,7 @@ set(DISSECTOR_SRC
dissectors/packet-wsp.c
dissectors/packet-wtls.c
dissectors/packet-wtp.c
dissectors/packet-x11.c
# dissectors/packet-x11.c
dissectors/packet-x25.c
dissectors/packet-x29.c
dissectors/packet-xcsl.c
@ -1186,6 +1186,8 @@ set(DISSECTOR_FILES
${PIDL_DISSECTOR_SRC}
${PIDL_DISSECTOR_AUTOGEN_SRC}
${DIRTY_PIDL_DISSECTOR_SRC}
dissectors/packet-gsm_a_common.c
dissectors/packet-x11.c
${ASN1_DISSECTOR_SRC}
${DIRTY_ASN1_DISSECTOR_SRC}
)
@ -1344,7 +1346,7 @@ set(CLEAN_FILES
# ${DISSECTOR_FILES} contains dirty files
${DISSECTOR_SRC}
${PIDL_DISSECTOR_SRC}
${PIDL_DISSECTOR_AUTOGEN_SRC}
# ${PIDL_DISSECTOR_AUTOGEN_SRC}
${ASN1_DISSECTOR_SRC}
# ${DISSECTOR_FILES } end
${DISSECTOR_SUPPORT_SRC}

View File

@ -26,7 +26,7 @@ set(PIDL_DISSECTOR_AUTOGEN_NAMES
butc
drsuapi
PARENT_SCOPE
)
)
set(IDL2WRS_FILES
idl2wrs.c