changeset 31820:837b16c7f35c

Avoid mixing code and declarations.
author reimar
date Mon, 02 Aug 2010 17:19:45 +0000
parents 88cc696240db
children 3f3381845ae9
files loader/win32.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/loader/win32.c	Mon Aug 02 17:18:18 2010 +0000
+++ b/loader/win32.c	Mon Aug 02 17:19:45 2010 +0000
@@ -678,8 +678,9 @@
 
 void destroy_event(void* event)
 {
+    mutex_list *pp;
     pthread_mutex_lock(&mlist_lock);
-    mutex_list* pp=mlist;
+    pp=mlist;
     //    printf("garbage collector: destroy_event(%x)\n", event);
     while(pp)
     {