]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix GCC 11 warns: Con_Shutdown misleading indentation
authorbones_was_here <bones_was_here@xa.org.au>
Fri, 10 Jun 2022 23:11:29 +0000 (09:11 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 20 Sep 2022 18:10:11 +0000 (04:10 +1000)
Signed-off-by: bones_was_here <bones_was_here@xa.org.au>
console.c

index cd596418592a0b00fef50a234173c7b65a1bc8b5..ac9d38259c8044867910e0e831c33b56662b0d2a 100644 (file)
--- a/console.c
+++ b/console.c
@@ -942,7 +942,8 @@ void Con_Shutdown (void)
        if (con_mutex) Thread_LockMutex(con_mutex);
        ConBuffer_Shutdown(&con);
        if (con_mutex) Thread_UnlockMutex(con_mutex);
-       if (con_mutex) Thread_DestroyMutex(con_mutex);con_mutex = NULL;
+       if (con_mutex) Thread_DestroyMutex(con_mutex);
+       con_mutex = NULL;
 }
 
 /*