summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/ccmake.cxx
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-11-30 15:54:04 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2001-11-30 15:54:04 (GMT)
commit86e75e0d3940fc14445c16535ce3ffb43a59492e (patch)
treef4e4c456dd16c054aad6c0b2361ce3b450eee9f5 /Source/CursesDialog/ccmake.cxx
parentd6e0f7da0cccef416ef2e31b8c5f225d4b429f11 (diff)
downloadCMake-86e75e0d3940fc14445c16535ce3ffb43a59492e.zip
CMake-86e75e0d3940fc14445c16535ce3ffb43a59492e.tar.gz
CMake-86e75e0d3940fc14445c16535ce3ffb43a59492e.tar.bz2
Fixed warning.
Diffstat (limited to 'Source/CursesDialog/ccmake.cxx')
-rw-r--r--Source/CursesDialog/ccmake.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index e47e382..3334131 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -17,7 +17,7 @@ void onsig(int sig)
if (cmCursesForm::CurrentForm)
{
endwin();
- WINDOW* w= initscr(); /* Initialization */
+ initscr(); /* Initialization */
noecho(); /* Echo off */
cbreak(); /* nl- or cr not needed */
keypad(stdscr,TRUE); /* Use key symbols as
@@ -63,7 +63,7 @@ int main(int argc, char** argv)
cmCacheManager::GetInstance()->LoadCache(cmSystemTools::GetCurrentWorkingDirectory().c_str());
- WINDOW* w=initscr(); /* Initialization */
+ initscr(); /* Initialization */
noecho(); /* Echo off */
cbreak(); /* nl- or cr not needed */
keypad(stdscr,TRUE); /* Use key symbols as