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
This commit is contained in:
phoglund@webrtc.org 2011-11-23 15:56:27 +00:00
parent 3379b0cf85
commit f3d10d3dfd

View File

@ -44,7 +44,7 @@ int ViEAutoTestMain::AskUserForTestCase() {
ViETest::Log("\t 0. Go back to previous menu."); ViETest::Log("\t 0. Go back to previous menu.");
// Print all test method choices. Assumes that map sorts on its key. // 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; std::map<int, std::string>::const_iterator iterator;
for (iterator = index_to_test_method_map_.begin(); for (iterator = index_to_test_method_map_.begin();
iterator != index_to_test_method_map_.end(); iterator != index_to_test_method_map_.end();
@ -113,7 +113,7 @@ int ViEAutoTestMain::RunSpecialTestCase(int choice) {
ViEAutoTest vieAutoTest(windowManager->GetWindow1(), ViEAutoTest vieAutoTest(windowManager->GetWindow1(),
windowManager->GetWindow2()); windowManager->GetWindow2());
int errors; int errors = 0;
switch (choice) { switch (choice) {
case 7: errors = vieAutoTest.ViELoopbackCall(); break; case 7: errors = vieAutoTest.ViELoopbackCall(); break;
case 8: errors = vieAutoTest.ViECustomCall(); break; case 8: errors = vieAutoTest.ViECustomCall(); break;