]> arthur.barton.de Git - ngircd-alex.git/commit
Fix compiler warning in Option_String()
authorAlexander Barton <alex@barton.de>
Mon, 29 Jan 2018 22:32:06 +0000 (23:32 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 29 Jan 2018 22:32:06 +0000 (23:32 +0100)
commitd9f81ac66942000861d46cd33708585a729b1207
tree935211c5a4129272c807ab87bbd3ae4d3ea4eb9e
parent7207bef418c655107d3076b20dd797418ad82cd7
Fix compiler warning in Option_String()

When compiling ngIRCd without support for SSL and without support for
ZLIB, gcc outputs the following warning:

  irc.c:493:9: warning: variable ‘options’ set but not used
    [-Wunused-but-set-variable]

Fix it by providing a dummy function in this case.
src/ngircd/irc.c