mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1073003 - Fix -Wunused-variable in Nuwa.cpp. r=glandium
--HG-- extra : rebase_source : 6d902895f5e2d08be939213c414e763968d64547
This commit is contained in:
parent
bb16c1b6f4
commit
b3191db47e
@ -909,11 +909,16 @@ static int sRecreateGatePassed = 0;
|
||||
* 3) Freeze point 2: blocks the current thread by acquiring sThreadFreezeLock.
|
||||
* If freezing is not enabled then revert the counter change in freeze
|
||||
* point 1.
|
||||
*
|
||||
* Note: the purpose of the '(void) variable;' statements is to avoid
|
||||
* -Wunused-but-set-variable warnings.
|
||||
*/
|
||||
#define THREAD_FREEZE_POINT1() \
|
||||
bool freezeCountChg = false; \
|
||||
bool recreated = false; \
|
||||
(void) recreated; \
|
||||
volatile bool freezePoint2 = false; \
|
||||
(void) freezePoint2; \
|
||||
thread_info_t *tinfo; \
|
||||
if (sIsNuwaProcess && \
|
||||
(tinfo = CUR_THREAD_INFO) && \
|
||||
|
Loading…
Reference in New Issue
Block a user