Skip to content

Commit f24388d

Browse files
committed
Fixed missing return values on some functions in provdb_rebuild_ascii
1 parent 673d8e4 commit f24388d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/provdb_rebuild_ascii.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ int rebuildGlobalDB(int nargs, char** args){
159159
delete admin;
160160
delete provider;
161161
progressStream << "Done" << std::endl;
162+
return 0;
162163
}
163164

164165

@@ -205,6 +206,7 @@ int getRank(const std::string &path){
205206
}else{
206207
fatal_error("Rank match failure " + path);
207208
}
209+
return -1;
208210
}
209211

210212
struct shardDB{
@@ -315,6 +317,7 @@ int rebuildProvDB(int nargs, char** args){
315317
delete provider;
316318

317319
progressStream << "Done" << std::endl;
320+
return 0;
318321
}
319322

320323

0 commit comments

Comments
 (0)