summaryrefslogtreecommitdiffstats
path: root/Source/cmakewizard.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-10-01 20:47:08 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-10-01 20:47:08 (GMT)
commit44bcba746156ad1d5fe7f784380c3fb4f4672f6b (patch)
tree34028a688c7649519a6a1086949f859d75a1a63f /Source/cmakewizard.cxx
parent86459a89a10733bad549c34a4c4c0ca962397bc6 (diff)
downloadCMake-44bcba746156ad1d5fe7f784380c3fb4f4672f6b.zip
CMake-44bcba746156ad1d5fe7f784380c3fb4f4672f6b.tar.gz
CMake-44bcba746156ad1d5fe7f784380c3fb4f4672f6b.tar.bz2
Fix warnings in CMake source code. Suppress rampant warnings emanating from Qt files.
Diffstat (limited to 'Source/cmakewizard.cxx')
-rw-r--r--Source/cmakewizard.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmakewizard.cxx b/Source/cmakewizard.cxx
index 4173413..1dcfcc1 100644
--- a/Source/cmakewizard.cxx
+++ b/Source/cmakewizard.cxx
@@ -29,7 +29,7 @@ void cmakewizard::AskUser(const char* key,
printf("New Value (Enter to keep current value): ");
char buffer[4096];
buffer[0] = 0;
- fgets(buffer, sizeof(buffer)-1, stdin);
+ (void) fgets(buffer, sizeof(buffer)-1, stdin);
if(strlen(buffer) > 0)
{
@@ -66,7 +66,7 @@ bool cmakewizard::AskAdvanced()
printf("Would you like to see advanced options? [No]:");
char buffer[4096];
buffer[0] = 0;
- fgets(buffer, sizeof(buffer)-1, stdin);
+ (void) fgets(buffer, sizeof(buffer)-1, stdin);
if(buffer[0])
{
if(buffer[0] == 'y' || buffer[0] == 'Y')