crashreporter_gtk_common.{h,cpp}: redundant 'SaveSettings' declaration
Categories
(Developer Infrastructure :: Source Code Analysis, task)
Tracking
(firefox73 fixed)
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: manish.giri.me, 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.
The SaveSettings()
functions is declared twice. We should have only one declaration
https://searchfox.org/mozilla-central/source/toolkit/crashreporter/client/crashreporter_gtk_common.h#47
https://searchfox.org/mozilla-central/source/toolkit/crashreporter/client/crashreporter_gtk_common.cpp#60
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/readability-redundant-declaration.html
Tutorial to contribute:
https://firefox-source-docs.mozilla.org/tools/docs/contribute/how_to_contribute_firefox.html
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D58228
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Possible noob question about Mercurial - this change shouldn't 'depend' on another change, and yet, it appears there is a listed dependency on a change I had submitted just before this one.
My workflow was -
- Make the change for issue 'A', commit it using hg commit, submit it using moz-phab
- Repeat step 1 for changes for issues B, C and D
- However, each time I submitted my changes for issues B, C and D, it still picked up the previous/already submitted change, and tried to "update" it, before creating a new "revision" in Phabricator, for the current change in question.
Is there a way I can start working on an issue afresh after submitting a change for a previous issue, so this "dependency" does not occur? I was told in #irc that 'hg up tip -C' should reset(?) the current working directory, but that didn't seem to work in this case.
Reporter | ||
Comment 3•3 years ago
|
||
Either you delete locally patches (hg histedit and drop) or you remove by hand the dependency in phabricator
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/73bf88f9fca7 Remove redundant function declaration in cpp file. r=sylvestre
Comment 5•3 years ago
|
||
bugherder |
Updated•7 months ago
|
Description
•