about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/ngircd/ngircd.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index be75b453..0d32e1af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,7 @@ ngIRCd CVS-HEAD
 
   - Made Makefile more compatible with "make -j<n>".
   - Added support for GNU/Hurd.
+  - Fixed a compiler warning related to an unnecessary assert().
 
 ngIRCd 0.7.0 (2003-05-01)
   - "ServerName" is checked better now: a dot (".") is required.
@@ -452,4 +453,4 @@ ngIRCd 0.0.1, 31.12.2001
 
 
 -- 
-$Id: ChangeLog,v 1.203 2003/05/05 00:33:32 alex Exp $
+$Id: ChangeLog,v 1.204 2003/06/05 10:48:13 alex Exp $
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 ... */