Fix -Wreturn-type warnings
This commit is contained in:
parent
1065303ecb
commit
ff5564e4ce
1 changed files with 1 additions and 0 deletions
1
db.h
1
db.h
|
@ -328,6 +328,7 @@ public:
|
||||||
bool Get(CServiceResult &ip, int& wait) {
|
bool Get(CServiceResult &ip, int& wait) {
|
||||||
CRITICAL_BLOCK(cs)
|
CRITICAL_BLOCK(cs)
|
||||||
return Get_(ip, wait);
|
return Get_(ip, wait);
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
void GetMany(std::vector<CServiceResult> &ips, int max, int& wait) {
|
void GetMany(std::vector<CServiceResult> &ips, int max, int& wait) {
|
||||||
CRITICAL_BLOCK(cs) {
|
CRITICAL_BLOCK(cs) {
|
||||||
|
|
Loading…
Reference in a new issue