forked from enlightenment/efl
Eina lock: unused warning suppression is done with (void).
Not only that it's uglier doing mutex=0, but also new gcc started complainig about it. SVN revision: 59137
This commit is contained in:
parent
e93f10b8aa
commit
4a11dacf16
|
@ -223,7 +223,7 @@ eina_lock_debug(Eina_Lock *mutex)
|
||||||
mutex, (int)mutex->locked, (int)mutex->lock_thread_id);
|
mutex, (int)mutex->locked, (int)mutex->lock_thread_id);
|
||||||
backtrace_symbols_fd((void **)mutex->lock_bt, mutex->lock_bt_num, 1);
|
backtrace_symbols_fd((void **)mutex->lock_bt, mutex->lock_bt_num, 1);
|
||||||
#else
|
#else
|
||||||
mutex = 0;
|
(void) mutex;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue