From 8be38c41d78524fc0e76a860e19fa231391fdad9 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Fri, 24 Dec 2010 01:54:20 +0000 Subject: [PATCH] fix use of uninitialized variable in client_test --- examples/client_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index c85f1711d..758a74de9 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -1148,7 +1148,7 @@ int main(int argc, char* argv[]) while (loop_limit > 1 || loop_limit == 0) { if (loop_limit > 1) --loop_limit; - char c; + char c = 0; while (sleep_and_input(&c, refresh_delay)) { if (c == 27)