From f3d10d3dfd5cad120c563c4c17d8f9887ed28582 Mon Sep 17 00:00:00 2001 From: "phoglund@webrtc.org" Date: Wed, 23 Nov 2011 15:56:27 +0000 Subject: [PATCH] Fixed release compilation error-warnings. BUG= TEST= Review URL: http://webrtc-codereview.appspot.com/290004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1006 4adac7df-926f-26a2-2b94-8c16560cd09d --- src/video_engine/test/auto_test/source/vie_autotest_main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_engine/test/auto_test/source/vie_autotest_main.cc b/src/video_engine/test/auto_test/source/vie_autotest_main.cc index 31973996b..d73c461e5 100644 --- a/src/video_engine/test/auto_test/source/vie_autotest_main.cc +++ b/src/video_engine/test/auto_test/source/vie_autotest_main.cc @@ -44,7 +44,7 @@ int ViEAutoTestMain::AskUserForTestCase() { ViETest::Log("\t 0. Go back to previous menu."); // Print all test method choices. Assumes that map sorts on its key. - int last_valid_choice; + int last_valid_choice = 0; std::map::const_iterator iterator; for (iterator = index_to_test_method_map_.begin(); iterator != index_to_test_method_map_.end(); @@ -113,7 +113,7 @@ int ViEAutoTestMain::RunSpecialTestCase(int choice) { ViEAutoTest vieAutoTest(windowManager->GetWindow1(), windowManager->GetWindow2()); - int errors; + int errors = 0; switch (choice) { case 7: errors = vieAutoTest.ViELoopbackCall(); break; case 8: errors = vieAutoTest.ViECustomCall(); break;