Removed some ifdefs.
authorPekka Riikonen <priikone@silcnet.org>
Sat, 4 Nov 2006 19:55:07 +0000 (19:55 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 4 Nov 2006 19:55:07 +0000 (19:55 +0000)
lib/silcutil/silcfsm.c

index caab3380802042110925832355c5a6da2e856a15..ae841d6d59e349863a54e5086eb10e79ddc7da47 100644 (file)
@@ -105,9 +105,7 @@ void silc_fsm_thread_init(SilcFSMThread thread,
   SILC_LOG_DEBUG(("Initializing new thread %p (%s)",
                  thread, real_thread ? "real" : "FSM"));
 
-#if defined(SILC_DEBUG)
   SILC_ASSERT(!fsm->thread);
-#endif /* SILC_DEBUG */
 
   thread->fsm_context = thread_context;
   thread->state_context = NULL;
@@ -319,9 +317,7 @@ SilcBool silc_fsm_thread_wait(void *fsm, void *thread)
 {
   SilcFSM t = thread;
 
-#if defined(SILC_DEBUG)
   SILC_ASSERT(t->thread);
-#endif /* SILC_DEBUG */
 
   if (t->finished)
     return FALSE;