From 4ab688c5e82281c4d9ad2a4498523b1722c1f738 Mon Sep 17 00:00:00 2001
From: Alexander Barton <alex@barton.de>
Date: Fri, 1 Nov 2013 19:12:35 +0100
Subject: [PATCH] Remove wrong #ifdef in Option_String()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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 | 2 --
 1 file changed, 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);