From d0a617e187c04d0c32640b9ff16088f7892edad3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20=C3=85strand?= Date: Fri, 12 Dec 2008 09:27:12 +0000 Subject: [PATCH] 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 --- win/vncviewer/vncviewer.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5