]> jfr.im git - irc/charybdis-ircd/charybdis.git/commit
bandb/bandb.c: misc cleanup for compiler warnings
authorAaron Jones <redacted>
Mon, 31 Jul 2017 01:01:22 +0000 (01:01 +0000)
committerAaron Jones <redacted>
Fri, 4 Aug 2017 12:32:56 +0000 (12:32 +0000)
commita8517ee77cae8ee54e0d0fc3068ff23c9cca5c8b
tree7444ec1582fd5ddef5b7d91ed594c93acfc39228
parent81ae0a7d1bf1e56a7272c0afc05a0f66fc487b80
bandb/bandb.c: misc cleanup for compiler warnings

bandb.c:243:1: warning: function 'error_cb' could be declared with
               attribute 'noreturn' [-Wmissing-noreturn]

bandb.c:289:1: warning: function 'db_error_cb' could be declared with
               attribute 'noreturn' [-Wmissing-noreturn]

bandb.c:293:13: warning: signed shift result (0x80000000) sets the sign
                bit of the shift expression's type ('int') and becomes
                negative [-Wshift-sign-overflow]
bandb/bandb.c