mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-05 21:30:29 +00:00
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 4ab688c5e8
)
This commit is contained in:
parent
94148c37f5
commit
ac127ff20a
@ -478,9 +478,7 @@ Option_String(UNUSED CONN_ID Idx)
|
|||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
static char option_txt[8];
|
static char option_txt[8];
|
||||||
#ifdef ZLIB
|
|
||||||
UINT16 options;
|
UINT16 options;
|
||||||
#endif
|
|
||||||
|
|
||||||
assert(Idx != NONE);
|
assert(Idx != NONE);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user