From 51eb218a034520ac82f5c9279834f8f7c5eefacf Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Sun, 15 Jul 2012 13:30:56 -0400 Subject: This should have made it into the last commit. --- xombrero.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xombrero.c b/xombrero.c index 209f725..b4e07cb 100644 --- a/xombrero.c +++ b/xombrero.c @@ -8258,13 +8258,19 @@ complain: void mtx_unlock(void) { +#ifdef DEBUG char *s = NULL; +#endif if (my_gdk_mtx.depth <= 0) { +#ifdef DEBUG s = "unlock <= 0"; +#endif goto complain; } else if (my_gdk_mtx.depth != 1) { +#ifdef DEBUG s = "unlock != 1"; +#endif g_static_rec_mutex_unlock_full(&my_gdk_mtx); goto complain; } @@ -8275,7 +8281,6 @@ complain: if (mtx_complain == 0) { DNPRINTF(XT_D_MTX, "buggy mutex implementation detected(%s), " "work around implemented", s); - s = s; /* *sigh* gcc */ mtx_complain = 1; } } -- cgit 1.4.1-2-gfad0 n value='main' selected='selected'>main Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/html/080zero-out.subx.html
blob: 1c4b1fae18d0b0ee900c837428218c23436e1f81 (plain) (tree)
1
2
3
4
5