updates.
[silc.git] / lib / silcutil / win32 / silcwin32thread.c
index 5c32cb3fdcde0bfafbc201ae8d53d793c021e3b1..76ba902439b0fb2f57fd3f0f5a8815f3e7e7ef19 100644 (file)
@@ -80,11 +80,10 @@ void silc_thread_exit(void *exit_value)
   if (thread) {
     /* If the thread is waitable the memory is freed only in silc_thread_wait
        by another thread. If not waitable, free it now. */
-    if (!thread->waitable)
-      {
-       CloseHandle(thread->thread);
-       silc_free(thread);
-      }
+    if (!thread->waitable) {
+      CloseHandle(thread->thread);
+      silc_free(thread);
+    }
 
     TlsSetValue(silc_thread_tls, NULL);
   }