Closed
Bug 1172011
Opened 8 years ago
Closed 8 years ago
nsSplitterFrame.cpp: Value stored to 'spaceLeft' is never read
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: rileybaldin, Mentored)
Details
(Keywords: clang-analyzer)
Attachments
(1 file, 1 obsolete file)
587 bytes,
patch
|
RyanVM
:
checkin+
|
Details | Diff | Splinter Review |
Detected by scan-build: https://people.mozilla.org/~sledru/reports/fx-scan-build/report-nsSplitterFrame.cpp-ResizeChildTo-13-1.html#EndPath here https://dxr.mozilla.org/mozilla-central/source/layout/xul/nsSplitterFrame.cpp?from=nsSplitterFrame.cpp&case=true#1051 we should probably remove the declaration, it is useless and potentially missleading.
Assignee | ||
Comment 1•8 years ago
|
||
Hi Sylvestre, I've removed the declaration in this patch.
Flags: needinfo?(sledru)
Reporter | ||
Comment 2•8 years ago
|
||
Riley, this bug is already assigned. You should find a bug without an assigned dev.
Flags: needinfo?(sledru)
Assignee | ||
Comment 3•8 years ago
|
||
Sorry, it just seemed trivial and I wasn't sure the assignment to a Mozilla VP was legitimate. Moving on.
Reporter | ||
Comment 4•8 years ago
|
||
It was ;) Even for a VP, it is interesting to understand what is the contribution workflow. Anyway, I have many other bugs like that. Drop me an email if you are interested.
Reporter | ||
Comment 5•8 years ago
|
||
Actually, David has another bug assigned and I can give him more if he wants. Riley, about your patch, you should now find a reviewer (trick: look at the hg history of the file)
Assignee: dbryant → rileybaldinmozilla
Assignee | ||
Comment 6•8 years ago
|
||
Thanks Sylvestre, I'll shoot you an email later today. Arnaud, I'm adding you in because you recently made changes in this file. The author of this actual line was the creator of the file and I'm not sure how to find that (new to Mercurial). I'm requesting a review of the above patch.
Flags: needinfo?(six.dsn)
Comment 7•8 years ago
|
||
Hi, Well "recently" isn't quite fair has I changed a few lines in this file more than one year ago :) I'm not allowed to review your patch sorry ;) You should look at the 'r=' part at the end of the commit message to find reviewers involved in this file As this file is in the layout part, you might need to find a layout module peer reviewer or a XUL peer reviewer. you can find module owners and peers here: https://wiki.mozilla.org/Modules/Core Don't be afraid to post thoses kind of questions on IRC irc.mozilla.org in #developers Thanks,
Flags: needinfo?(six.dsn)
Assignee | ||
Comment 8•8 years ago
|
||
Fair enough. "The only 2+ line change in a year" may have been a better statement. Mike, I'm adding you in as you reviewed the last change to this file. If you're also unable to review I'll ping the IRC chat. I'm new to the workflow here. Thanks all.
Flags: needinfo?(mh+mozilla)
Assignee | ||
Comment 10•8 years ago
|
||
Nathan, is it possible for you to review this patch?
Flags: needinfo?(nfroyd)
![]() |
||
Comment 11•8 years ago
|
||
Comment on attachment 8624537 [details] [diff] [review] removingDeclaration_diff.txt I'm not a layout/XUL peer, but I feel pretty confident in saying that this patch is OK after reviewing the scan-build output. For future reference, asking people to review patches is better done by setting the "review" flag on the patch directly: https://bugzilla.mozilla.org/attachment.cgi?id=8624537&action=edit on the above page, for instance, which can be reached by clicking the "details" link associated with your patch. You can set the review flag to "?", which will open up a textbox where you can enter the reviewer; it will also provide you with a list of suggested reviewers, which tends to be fairly accurate. I've set the review flag on this patch to "+" for you. Thanks for the patch!
Flags: needinfo?(nfroyd)
Attachment #8624537 -
Flags: review+
Assignee | ||
Comment 12•8 years ago
|
||
Requesting check-in. I don't have try server access.
Attachment #8625101 -
Flags: checkin?(sledru)
Updated•8 years ago
|
Attachment #8624537 -
Attachment is obsolete: true
Comment 13•8 years ago
|
||
Comment on attachment 8625101 [details] [diff] [review] Approved patch in hg format. Thanks for the patch, Riley :). In the future, please use the checkin-needed bug keyword instead. It plays more nicely with our bug marking tools :)
Attachment #8625101 -
Flags: checkin?(sledru) → checkin+
Comment 15•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/80005aa6f8e1
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•