diff options
author | Peter Powell <petpow@saberuk.com> | 2019-05-09 12:02:57 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-05-09 12:06:57 +0100 |
commit | 5610d70e4c14514e0e14be971fd0108c3ea3c1fb (patch) | |
tree | e982e06385ba0882312e9e561c99653d2306dbf4 /src/modules | |
parent | 3deeda7693182ed4bc6c163cc8fe476ccc5e278f (diff) |
Silence a fallthrough warning in the pgsql module on newer GCCs.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/m_pgsql.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index bb727b623..aef441e62 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -298,6 +298,7 @@ class SQLConn : public SQL::Provider, public EventHandler SocketEngine::ChangeEventMask(this, FD_WANT_POLL_READ | FD_WANT_NO_WRITE); status = WWRITE; DoConnectedPoll(); + return true; default: return true; } @@ -391,6 +392,7 @@ restart: SocketEngine::ChangeEventMask(this, FD_WANT_POLL_READ | FD_WANT_NO_WRITE); status = WWRITE; DoConnectedPoll(); + return true; default: return true; } |