Closed Bug 1764256 Opened 3 years ago Closed 3 years ago

[clang 14] ActorsParent.cpp:3996:7: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]

Categories

(Core :: Storage: Quota Manager, defect)

defect

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox99 --- unaffected
firefox100 --- unaffected
firefox101 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[task 2022-04-12T07:57:07.664Z] 07:57:07     INFO -  In file included from Unified_cpp_dom_quota0.cpp:11:
[task 2022-04-12T07:57:07.664Z] 07:57:07    ERROR -  /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3996:7: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
[task 2022-04-12T07:57:07.664Z] 07:57:07     INFO -        initiateShutdownWorkThreads() | static_cast<bool>(gNormalOriginOps);
[task 2022-04-12T07:57:07.664Z] 07:57:07     INFO -        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2022-04-12T07:57:07.664Z] 07:57:07     INFO -                                      ||
[task 2022-04-12T07:57:07.665Z] 07:57:07     INFO -  /builds/worker/checkouts/gecko/dom/quota/ActorsParent.cpp:3996:7: note: cast one or both operands to int to silence this warning
[task 2022-04-12T07:57:07.665Z] 07:57:07     INFO -  1 error generated.
Has Regression Range: --- → yes
Pushed by jstutte@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0491764d374b Use logical or instead of bitwise or in QuotaManager::Shutdown r=dom-storage-reviewers,janv
Severity: -- → S4
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: