summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2003-06-05 10:48:13 +0000
committerAlexander Barton <alex@barton.de>2003-06-05 10:48:13 +0000
commit9a009b24dad03af6c0d30172f542663cd8d11bcc (patch)
tree23498cdac63fdb65f42e97edacf0b7f3ae969200 /src
parent83765a5a34a2a99ee867c03074206014b5619e6b (diff)
downloadngircd-9a009b24dad03af6c0d30172f542663cd8d11bcc.tar.gz
ngircd-9a009b24dad03af6c0d30172f542663cd8d11bcc.zip
Fixed a compiler warning related to an unnecessary assert().
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/ngircd.c4
1 files changed, 3 insertions, 1 deletions
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 <assert.h>
@@ -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 ... */