From: Alexander Barton Date: Fri, 1 Nov 2013 18:12:35 +0000 (+0100) Subject: Remove wrong #ifdef in Option_String() X-Git-Tag: rel-22-rc1~104 X-Git-Url: https://arthur.barton.de/gitweb/?a=commitdiff_plain;h=4ab688c5e82281c4d9ad2a4498523b1722c1f738;p=ngircd.git 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. --- diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c index ee7972c2..b2d865fc 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);