]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Remove wrong #ifdef in Option_String()
authorAlexander Barton <alex@barton.de>
Fri, 1 Nov 2013 18:12:35 +0000 (19:12 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 1 Nov 2013 18:12:35 +0000 (19:12 +0100)
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

index ee7972c215a7534519cea8759d4252341e80ef37..b2d865fc7fa381c0b8062ad6bfcde58468f8460d 100644 (file)
@@ -478,9 +478,7 @@ Option_String(UNUSED CONN_ID Idx)
 #endif
 {
        static char option_txt[8];
 #endif
 {
        static char option_txt[8];
-#ifdef ZLIB
        UINT16 options;
        UINT16 options;
-#endif
 
        assert(Idx != NONE);
 
 
        assert(Idx != NONE);