set "WX" and "#pragma warning(disable:4101)"
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 27 Mar 2007 02:47:09 +0000 (02:47 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 27 Mar 2007 02:47:09 +0000 (02:47 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21222 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/giop/Makefile.nmake
plugins/giop/packet-cosnaming.c

index 901535efa1839b12aaee43348cc06dda2713a280..19276adf397e44cd404b1e965d9abed628b6e150 100644 (file)
@@ -6,7 +6,7 @@ include ..\..\config.nmake
 
 ############### no need to modify below this line #########
 
-CFLAGS=/DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \
+CFLAGS=/WX /DHAVE_CONFIG_H /I../.. /I../../wiretap $(GLIB_CFLAGS) \
        /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
 
 LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
index fd26b6283f46bfee9de0cc6a605d05437d553a36..ab448bb86ab84d7fcc65d3145e3a6647f1d907b2 100644 (file)
 G_MODULE_EXPORT const gchar version[] = "0.0.1";
 #endif
 
-
+#ifdef _WIN32
+/* disable warning: "unreference local variable" */
+#pragma warning(disable:4101)
+#endif
 
 static proto_tree *start_dissecting(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ptree, int *offset);