diff options
| author | Alexander Barton <alex@barton.de> | 2013-11-01 19:12:35 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2013-11-01 19:12:35 +0100 |
| commit | 4ab688c5e82281c4d9ad2a4498523b1722c1f738 (patch) | |
| tree | 54adc21668b485c32eb576b53790e87ccabd4125 | |
| parent | 2e931298778af0410c8f8ff61e3323810b0fd88e (diff) | |
| download | ngircd-4ab688c5e82281c4d9ad2a4498523b1722c1f738.tar.gz ngircd-4ab688c5e82281c4d9ad2a4498523b1722c1f738.zip | |
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.
| -rw-r--r-- | src/ngircd/irc.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |