Skip to content

Commit

Permalink
Fix -Wreturn-type warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lclc committed Dec 28, 2017
1 parent 1065303 commit ff5564e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db.h
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ class CAddrDb {
bool Get(CServiceResult &ip, int& wait) {
CRITICAL_BLOCK(cs)
return Get_(ip, wait);
return false;
}
void GetMany(std::vector<CServiceResult> &ips, int max, int& wait) {
CRITICAL_BLOCK(cs) {
Expand Down

0 comments on commit ff5564e

Please sign in to comment.