another fix for cap_dshow.cpp; fixed warning in facerec_demo

This commit is contained in:
Vadim Pisarevsky
2012-03-30 20:06:06 +00:00
parent 3a564d1ae8
commit f309bafe9e
3 changed files with 19 additions and 24 deletions

View File

@@ -53,7 +53,7 @@ int main(int argc, const char *argv[]) {
// read in the data
try {
read_csv(fn_csv, images, labels);
} catch (exception& e) {
} catch (exception&) {
cerr << "Error opening file \"" << fn_csv << "\"." << endl;
exit(1);
}