commit ac127ff20ab68b2382f5a08c57370e400fb254ba from: Alexander Barton date: Fri Dec 27 20:52:59 2013 UTC 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. (cherry picked from commit 4ab688c5e82281c4d9ad2a4498523b1722c1f738) commit - 94148c37f5b29dffe1f37192d3930a2e3de2377d commit + ac127ff20ab68b2382f5a08c57370e400fb254ba blob - ee7972c215a7534519cea8759d4252341e80ef37 blob + b2d865fc7fa381c0b8062ad6bfcde58468f8460d --- src/ngircd/irc.c +++ 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);