summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsJavaParser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsJavaParser.cxx')
-rw-r--r--Source/cmDependsJavaParser.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmDependsJavaParser.cxx b/Source/cmDependsJavaParser.cxx
index 5405c05..182d160 100644
--- a/Source/cmDependsJavaParser.cxx
+++ b/Source/cmDependsJavaParser.cxx
@@ -33,6 +33,11 @@
define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */
+/* turn off some warning as this is generated code */
+#if defined(_MSC_VER)
+# pragma warning ( disable : 4702 ) /* unreachable code */
+#endif
+
/* Identify Bison output. */
#define YYBISON 1