Fix a build warning when compiling without postgres or sqlite

21 jobs for master in 18 minutes and 22 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #14316
docker
build:1

00:02:32

22.3%
passed #14317
docker
build:2

00:02:36

22.2%
passed #14318
docker
build:3

00:02:41

22.6%
passed #14319
docker
build:4

00:02:16

17.4%
passed #14320
docker
build:5

00:02:44

22.6%
passed #14321
docker
build:6

00:02:31

22.7%
passed #14314
docker
build:alpine

00:01:56

failed #14315
armv7l allowed to fail manual
build:archlinux

00:03:05

passed #14313
docker
build:debian

00:02:56

29.5%
passed #14312
docker
build:fedora

00:02:35

21.8%
passed #14322
docker
build:without_udns

00:02:23

22.2%
 
  Test
passed #14326
docker
test:alpine

00:03:34

passed #14323
docker
test:debian

00:03:22

64.8%
passed #14324
docker
test:fedora

00:03:11

84.8%
passed #14332
freebsd
test:freebsd

00:03:53

passed #14325
docker
test:without_udns

00:03:11

84.8%
failed #14327
freebsd
test:freebsd

00:03:32

 
  Packaging
passed #14330
docker allowed to fail
packaging:archlinux

00:04:43

passed #14329
docker allowed to fail
packaging:deb

00:03:34

passed #14328
docker allowed to fail
packaging:rpm

00:01:15

 
  External
manual #14331
docker allowed to fail manual
coverity
 
Name Stage Failure
failed
build:archlinux Build
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/bridge.dir/build.make:63: CMakeFiles/bridge.dir/src/bridge/bridge.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:196: CMakeFiles/bridge.dir/all] Error 2
cc1plus: all warnings being treated as errors
make[3]: *** [CMakeFiles/irc.dir/build.make:111: CMakeFiles/irc.dir/src/irc/irc_client.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:344: CMakeFiles/irc.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:463: CMakeFiles/everything.dir/rule] Error 2
make: *** [Makefile:307: everything] Error 2
ERROR: Job failed: Process exited with: 1. Reason was: ()