]> source.dussan.org Git - tigervnc.git/commitdiff
Eliminiated two unused variables; no need to store result from
authorPeter Åstrand <astrand@cendio.se>
Fri, 12 Dec 2008 09:27:12 +0000 (09:27 +0000)
committerPeter Åstrand <astrand@cendio.se>
Fri, 12 Dec 2008 09:27:12 +0000 (09:27 +0000)
getchar().

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3397 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/vncviewer/vncviewer.cxx

index 3a5214a35ee39f87bac6e8106edb25976f6d331f..f8f2fb52da510922842b559ca7bbc9f7ea818caa 100644 (file)
@@ -108,7 +108,7 @@ programUsage() {
   printf("\nParameters:\n");
   Configuration::listParams();
   printf("Press Enter/Return key to continue\n");
-  char c = getchar();
+  getchar();
   exit(1);
 }
 
@@ -284,7 +284,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prevInst, char* cmdLine, int cmdSho
 
     if (!close_console) {
       printf("Press Enter/Return key to continue\n");
-      char c = getchar();
+      getchar();
     }
 
   } catch (rdr::Exception& e) {