replace ASSERT(0) with useful fail messages

This commit is contained in:
Devin J. Pohly
2012-12-27 16:59:35 -05:00
parent 376056a0cf
commit bd0e2074ad
71 changed files with 289 additions and 245 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ retry:
case Dialog::ignore:
return false;
default:
ASSERT(0);
FAIL_M("Invalid response to Abort/Retry/Ignore dialog");
}
}
@@ -81,7 +81,7 @@ retry:
asPaths.erase( asPaths.begin()+1, asPaths.end() );
break;
default:
ASSERT(0);
FAIL_M("Invalid response to Abort/Retry/Ignore dialog");
}
}