Closed
Bug 1126408
Opened 9 years ago
Closed 9 years ago
prfdcach.c:216:18: warning: unused variable 'pop' [-Wunused-variable]
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
1.16 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
New build warning, noticed when building mozilla-central after recent NSPR uplift: { pr/src/io/prfdcach.c:216:18: warning: unused variable 'pop' [-Wunused-variable] } The last usage of this variable was removed in bug 573192, at the very bottom of this commit: http://hg.mozilla.org/projects/nspr/rev/84acbf6789fb#l1.190 So, the variable itself can go away.
Assignee | ||
Comment 1•9 years ago
|
||
Here's the patch (with extra lines of context, to prove that the variable is indeed unused).
Attachment #8555373 -
Flags: review?(nfroyd)
Comment 2•9 years ago
|
||
Comment on attachment 8555373 [details] [diff] [review] fix v1 Review of attachment 8555373 [details] [diff] [review]: ----------------------------------------------------------------- Thank you for the extra context lines! Maybe we won't have to do this sort of thing when ReviewBoard hits.
Attachment #8555373 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 3•9 years ago
|
||
[needinfo=ted to land this. Thanks in advance!]
Flags: needinfo?(ted)
Comment 5•9 years ago
|
||
I landed this, but in hindsight is froydnj actually an NSPR peer? It's a trivial change so I'm not stressed about it.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(ted)
Resolution: --- → FIXED
Assignee | ||
Comment 6•9 years ago
|
||
I just tagged him to review it because he wrote the patch that made this variable unused (bug 573192) -- this is a (trivial) logical extension of that patch (and in a perfect world, it would have been part of his already-reviewed-by-an-nspr-peer bug 573192 patch). Thanks for landing, & sorry if that technically violated the review protocol -- I figured it was trivial enough that it wasn't worth worrying about. :)
Comment 7•9 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #5) > I landed this, but in hindsight is froydnj actually an NSPR peer? Just as long as people don't start taking this as precedent!
You need to log in
before you can comment on or make changes to this bug.
Description
•