From 9a009b24dad03af6c0d30172f542663cd8d11bcc Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Thu, 5 Jun 2003 10:48:13 +0000 Subject: Fixed a compiler warning related to an unnecessary assert(). --- src/ngircd/ngircd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ngircd/ngircd.c b/src/ngircd/ngircd.c index 046ff959..313dc456 100644 --- a/src/ngircd/ngircd.c +++ b/src/ngircd/ngircd.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: ngircd.c,v 1.76 2003/03/31 15:54:21 alex Exp $"; +static char UNUSED id[] = "$Id: ngircd.c,v 1.77 2003/06/05 10:48:13 alex Exp $"; #include "imp.h" #include @@ -417,7 +417,9 @@ NGIRCd_Rehash( VOID ) Conn_ExitListeners( ); /* Alten Server-Namen merken */ +#ifdef DEBUG assert( sizeof( old_name ) == sizeof( Conf_ServerName )); +#endif strcpy( old_name, Conf_ServerName ); /* Konfiguration neu lesen ... */ -- cgit 1.4.1