Closed Bug 1629431 Opened 4 years ago Closed 4 years ago

AppWindow.cpp: converting integer literal to bool, use bool literal instead

Categories

(Developer Infrastructure :: Source Code Analysis, task)

task
Not set
normal

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
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: nobody → abdallah.khaled.ali.93
Status: NEW → ASSIGNED
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/063fb58eb4c2
Use bool true instead of int 1. r=smaug

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

Flags: needinfo?(sledru)

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

Flags: needinfo?(sledru)

and after that the ticket will be automatically closed ?

Flags: needinfo?(sledru)

yes!

Flags: needinfo?(sledru)

Okay, Thank you.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: