Merge pull request #1898 from berak:b_3349_24

This commit is contained in:
Roman Donchenko 2013-12-02 14:14:41 +04:00 committed by OpenCV Buildbot
commit fb568755a1
3 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@ int main(int argc, const char *argv[]) {
cout << "usage: " << argv[0] << " <csv.ext> <output_folder> " << endl; cout << "usage: " << argv[0] << " <csv.ext> <output_folder> " << endl;
exit(1); exit(1);
} }
string output_folder; string output_folder = ".";
if (argc == 3) { if (argc == 3) {
output_folder = string(argv[2]); output_folder = string(argv[2]);
} }

View File

@ -70,7 +70,7 @@ int main(int argc, const char *argv[]) {
cout << "usage: " << argv[0] << " <csv.ext> <output_folder> " << endl; cout << "usage: " << argv[0] << " <csv.ext> <output_folder> " << endl;
exit(1); exit(1);
} }
string output_folder; string output_folder = ".";
if (argc == 3) { if (argc == 3) {
output_folder = string(argv[2]); output_folder = string(argv[2]);
} }

View File

@ -70,7 +70,7 @@ int main(int argc, const char *argv[]) {
cout << "usage: " << argv[0] << " <csv.ext> <output_folder> " << endl; cout << "usage: " << argv[0] << " <csv.ext> <output_folder> " << endl;
exit(1); exit(1);
} }
string output_folder; string output_folder = ".";
if (argc == 3) { if (argc == 3) {
output_folder = string(argv[2]); output_folder = string(argv[2]);
} }