summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-05-09 12:02:57 +0100
committerPeter Powell <petpow@saberuk.com>2019-05-09 12:06:57 +0100
commit5610d70e4c14514e0e14be971fd0108c3ea3c1fb (patch)
treee982e06385ba0882312e9e561c99653d2306dbf4 /src/modules
parent3deeda7693182ed4bc6c163cc8fe476ccc5e278f (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.cpp2
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;
}