diff options
author | Josh Rickmar <jrick@devio.us> | 2012-07-15 13:30:56 -0400 |
---|---|---|
committer | Josh Rickmar <jrick@devio.us> | 2012-07-15 13:30:56 -0400 |
commit | 51eb218a034520ac82f5c9279834f8f7c5eefacf (patch) | |
tree | 00fb571c95126f093284d1205bf233a75a3157e2 | |
parent | 22d00005d773bbb4b404d772ac88734225eb3460 (diff) | |
download | xombrero-51eb218a034520ac82f5c9279834f8f7c5eefacf.tar.gz |
This should have made it into the last commit.
-rw-r--r-- | xombrero.c | 7 |
1 files changed, 6 insertions, 1 deletions
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; } } |