AppWindow.cpp: converting integer literal to bool, use bool literal instead
Categories
(Developer Infrastructure :: Source Code Analysis, task)
Tracking
(firefox77 fixed)
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: abdallah.khaled.ali.93, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=C++])
Attachments
(1 file)
Filling as a good first bug to learn workflows.
Replace 1 by true (it is casted to bool anyway)
https://searchfox.org/mozilla-central/source/xpfe/appshell/AppWindow.cpp#1613
As the change is trivial, it is just to learn how to contribute to Firefox.
Found by http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
Tutorial to contribute:
https://firefox-source-docs.mozilla.org/tools/docs/contribute/how_to_contribute_firefox.html
Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.
Also, please only work on two max of such bugs.
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Pushed by opettay@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/063fb58eb4c2 Use bool true instead of int 1. r=smaug
Assignee | ||
Comment 3•4 years ago
|
||
Hello,
I submitted a Patch and the review is closed, but I am not sure that the change is 'landed'. How can I verify this ? this is my first time submitting a Patch here.
Thank you
Reporter | ||
Comment 4•4 years ago
|
||
https://hg.mozilla.org/integration/autoland/rev/063fb58eb4c2 it means that your change is being processed and should arrive in mozilla-central
See the various tests being run:
https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=063fb58eb4c2
Assignee | ||
Comment 5•4 years ago
|
||
and after that the ticket will be automatically closed ?
Assignee | ||
Comment 7•4 years ago
|
||
Okay, Thank you.
Comment 8•4 years ago
|
||
bugherder |
Updated•2 years ago
|
Description
•