add missing "return"s to cpp examples

This commit is contained in:
mlangkabel
2021-03-01 15:20:33 +01:00
parent 08d04278cd
commit a2b1f79fec
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@ int main(int argc, const char *argv[])
if (argc < 3 || argc > 4)
{
std::cout << "usage: cpp_api_example <database_path> <source_path> <optional:database_version>";
return 1;
}
std::string dbPath = argv[1];
+1
View File
@@ -33,6 +33,7 @@ int main(int argc, const char *argv[])
if (argc < 3 || argc > 4)
{
std::cout << "usage: poetry_indexer <database_path> <source_path> <optional:database_version>";
return 1;
}
std::string dbPath = argv[1];