From: Peter Åstrand Date: Fri, 12 Dec 2008 09:27:12 +0000 (+0000) Subject: Eliminiated two unused variables; no need to store result from X-Git-Tag: v0.0.90~286 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d0a617e187c04d0c32640b9ff16088f7892edad3;p=tigervnc.git Eliminiated two unused variables; no need to store result from getchar(). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3397 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/vncviewer/vncviewer.cxx b/win/vncviewer/vncviewer.cxx index 3a5214a3..f8f2fb52 100644 --- a/win/vncviewer/vncviewer.cxx +++ b/win/vncviewer/vncviewer.cxx @@ -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) {