summaryrefslogtreecommitdiffstats
path: root/Source/cmExprParser.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-03-05 15:36:06 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-03-05 15:36:06 (GMT)
commit420095c013456e360c358ff0ce7d49a46222bbf2 (patch)
tree766558df2550e35c73c25165b0907fb92e464424 /Source/cmExprParser.cxx
parentd443963d91c33579fa4774a698b21c4b5ff3cbeb (diff)
downloadCMake-420095c013456e360c358ff0ce7d49a46222bbf2.zip
CMake-420095c013456e360c358ff0ce7d49a46222bbf2.tar.gz
CMake-420095c013456e360c358ff0ce7d49a46222bbf2.tar.bz2
COMP: shut up warnings
Diffstat (limited to 'Source/cmExprParser.cxx')
-rw-r--r--Source/cmExprParser.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmExprParser.cxx b/Source/cmExprParser.cxx
index 6c55f22..aa9190e 100644
--- a/Source/cmExprParser.cxx
+++ b/Source/cmExprParser.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