diff options
author | Brad King <brad.king@kitware.com> | 2005-03-15 13:14:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-03-15 13:14:35 (GMT) |
commit | 28bb8e04c0eb18ecb533951e0931f00207c8f249 (patch) | |
tree | 97b0023e1931559c5b904508cdfb2429d42ad9ff | |
parent | 5ddaebb522c519eec3d3af0f79a7317127a7dadb (diff) | |
download | CMake-28bb8e04c0eb18ecb533951e0931f00207c8f249.zip CMake-28bb8e04c0eb18ecb533951e0931f00207c8f249.tar.gz CMake-28bb8e04c0eb18ecb533951e0931f00207c8f249.tar.bz2 |
COMP: Defining YY_NO_INPUT to remove compilation of unused yyinput function. It was producing a warning about unreachable code.
-rw-r--r-- | Source/cmListFileLexer.c | 1 | ||||
-rw-r--r-- | Source/cmListFileLexer.in.l | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmListFileLexer.c b/Source/cmListFileLexer.c index 6af37f1..f0f2ba7 100644 --- a/Source/cmListFileLexer.c +++ b/Source/cmListFileLexer.c @@ -508,6 +508,7 @@ Modify cmListFileLexer.c: /* Disable features we do not need. */ #define YY_NEVER_INTERACTIVE 1 +#define YY_NO_INPUT 1 #define YY_NO_UNPUT 1 #define YY_NO_UNISTD_H 1 #define ECHO diff --git a/Source/cmListFileLexer.in.l b/Source/cmListFileLexer.in.l index 7587871..a28b982 100644 --- a/Source/cmListFileLexer.in.l +++ b/Source/cmListFileLexer.in.l @@ -34,6 +34,7 @@ Modify cmListFileLexer.c: /* Disable features we do not need. */ #define YY_NEVER_INTERACTIVE 1 +#define YY_NO_INPUT 1 #define YY_NO_UNPUT 1 #define YY_NO_UNISTD_H 1 #define ECHO |