mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00
Bug 870480 - Follow-up: Try to fix a warning-as-error.
> error: suggest parentheses around comparison in operand of '!='
This commit is contained in:
parent
6eb985ad17
commit
8c183f61d7
@ -253,7 +253,7 @@ ModifyWakeLock(const nsAString& aTopic,
|
||||
if (sActiveListeners &&
|
||||
(oldState != ComputeWakeLockState(totalCount.numLocks,
|
||||
totalCount.numHidden) ||
|
||||
processWasLocked != processCount.numLocks > 0)) {
|
||||
processWasLocked != (processCount.numLocks > 0))) {
|
||||
|
||||
WakeLockInformation info;
|
||||
GetWakeLockInfo(aTopic, &info);
|
||||
|
Loading…
x
Reference in New Issue
Block a user