g_bit_lock: remove double variable declarations
authorRyan Lortie <desrt@desrt.ca>
Mon, 1 Feb 2010 23:30:57 +0000 (18:30 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 1 Feb 2010 23:32:34 +0000 (18:32 -0500)
Remove double declaration of local static variables used for futex
emulation.

Problem found by Haakon Sporsheim <haakon.sporsheim@gmail.com>.

glib/gbitlock.c

index c62ec3055a8aacb37c22f545c292863dee6f49f3..915aa7cb659251bd3fdc24306702305f655858bc 100644 (file)
@@ -111,9 +111,6 @@ typedef struct
   GCond               *wait_queue;
 } WaitAddress;
 
-static GSList *g_futex_address_list;
-static GMutex *g_futex_mutex;
-
 static WaitAddress *
 g_futex_find_address (const volatile gint *address)
 {