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:
parent
3379b0cf85
commit
f3d10d3dfd
@ -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<int, std::string>::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;
|
||||
|
Loading…
Reference in New Issue
Block a user