mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Silence a fallthrough warning in the pgsql module on newer GCCs.
This commit is contained in:
parent
3deeda7693
commit
5610d70e4c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user