Fixed release compilation error.

BUG=
TEST=

Review URL: http://webrtc-codereview.appspot.com/298003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1090 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org 2011-12-02 11:14:12 +00:00
parent e26aad4a9e
commit 6aed73d218

View File

@ -64,7 +64,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<int, std::string>::const_iterator iterator;
for (iterator = index_to_test_method_map_.begin();
iterator != index_to_test_method_map_.end();
@ -128,7 +128,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;