inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 5610d70e4c14514e0e14be971fd0108c3ea3c1fb
parent 3deeda7693182ed4bc6c163cc8fe476ccc5e278f
Author: Peter Powell <petpow@saberuk.com>
Date:   Thu,  9 May 2019 12:02:57 +0100

Silence a fallthrough warning in the pgsql module on newer GCCs.

Diffstat:
Msrc/modules/extra/m_pgsql.cpp | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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; }