Module: ngircd.git Branch: master Commit: 4ab688c5e82281c4d9ad2a4498523b1722c1f738 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=4ab688c5e... Author: Alexander Barton <alex@barton.de> Date: Fri Nov 1 19:12:35 2013 +0100 Remove wrong #ifdef in Option_String() This fixes the following error when compiling without zlib support: irc.c: In function ‘Option_String’: irc.c:487: error: ‘options’ undeclared (first use in this function) Reported by "der_baer" on #ngircd. --- src/ngircd/irc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c index ee7972c..b2d865f 100644 --- a/src/ngircd/irc.c +++ b/src/ngircd/irc.c @@ -478,9 +478,7 @@ Option_String(UNUSED CONN_ID Idx) #endif { static char option_txt[8]; -#ifdef ZLIB UINT16 options; -#endif assert(Idx != NONE);