aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-03-27 02:47:09 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-03-27 02:47:09 +0000
commit4cc5c2ca24908918ac015344e4c85a9ba62406a0 (patch)
treea80c3cc659d7a95455fdf7fc6faf8e1216ac28a6 /plugins
parentc2408435bc165abba58605750121829aa9a403d2 (diff)
set "WX" and "#pragma warning(disable:4101)"
svn path=/trunk/; revision=21222
Diffstat (limited to 'plugins')
-rw-r--r--plugins/giop/Makefile.nmake2
-rw-r--r--plugins/giop/packet-cosnaming.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/giop/Makefile.nmake b/plugins/giop/Makefile.nmake
index 901535efa1..19276adf39 100644
--- a/plugins/giop/Makefile.nmake
+++ b/plugins/giop/Makefile.nmake
@@ -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)
diff --git a/plugins/giop/packet-cosnaming.c b/plugins/giop/packet-cosnaming.c
index fd26b6283f..ab448bb86a 100644
--- a/plugins/giop/packet-cosnaming.c
+++ b/plugins/giop/packet-cosnaming.c
@@ -48,7 +48,10 @@
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);