diff options
| author | Damien Regad <dregad@mantisbt.org> | 2020-01-25 21:42:10 +0100 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2020-01-25 21:42:10 +0100 |
| commit | 8bae5242fe0670e6cdcb069f342ba9224d063728 (patch) | |
| tree | 3bb94a2b1db997f2b7f365dd6ade1ac6718a36ad /adodb-loadbalancer.inc.php | |
| parent | c0a3984e19fb72ec6186be90d8ef97fec1daa8c9 (diff) | |
| download | adodb-8bae5242fe0670e6cdcb069f342ba9224d063728.tar.gz adodb-8bae5242fe0670e6cdcb069f342ba9224d063728.tar.bz2 adodb-8bae5242fe0670e6cdcb069f342ba9224d063728.zip | |
Missing return statement
The function could reach its end without actually returning any value.
Moving the `return false` statement out of the if/else block to ensure
this does not happen.
Diffstat (limited to 'adodb-loadbalancer.inc.php')
| -rw-r--r-- | adodb-loadbalancer.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/adodb-loadbalancer.inc.php b/adodb-loadbalancer.inc.php index 65468ec4..58c56be7 100644 --- a/adodb-loadbalancer.inc.php +++ b/adodb-loadbalancer.inc.php @@ -580,9 +580,8 @@ class ADOdbLoadBalancer return $result; } - - return false; } + return false; } /** |
