Closed
Bug 720574
Opened 12 years ago
Closed 12 years ago
Remove unused variables and imports
Categories
(Firefox for Android Graveyard :: General, defect, P4)
Tracking
(firefox11 fixed, fennec11+)
RESOLVED
FIXED
Firefox 12
People
(Reporter: Margaret, Assigned: Margaret)
Details
Attachments
(1 file)
11.29 KB,
patch
|
mbrubeck
:
review+
akeybl
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
I didn't go through every file, but this fixes the unused variable/import warnings I've come across in Eclipse. I can give it a try server run to make sure it doesn't break anything.
Attachment #590939 -
Flags: review?(mbrubeck)
Comment 1•12 years ago
|
||
Comment on attachment 590939 [details] [diff] [review] patch > public AwesomeBarCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { > super(context, layout, c, from, to); >- mLayout = layout; >- mTo = to; >- mFrom = from; >- mSearchTerm = ""; > } The "mSearchTerm" change here is the only one that seemed potentially bad. Even if it's not currently necessary, I'd rather initialize it here than risk that some current or future code uses it unitialized. r=mbrubeck except for that change.
Attachment #590939 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Matt Brubeck (:mbrubeck) from comment #1) > > public AwesomeBarCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { > > super(context, layout, c, from, to); > >- mLayout = layout; > >- mTo = to; > >- mFrom = from; > >- mSearchTerm = ""; > > } > > The "mSearchTerm" change here is the only one that seemed potentially bad. > Even if it's not currently necessary, I'd rather initialize it here than > risk that some current or future code uses it unitialized. Oops, I accidentally deleted that. To be clear, you're okay with the other variables being removed there, just not mSearchTerm?
Comment 3•12 years ago
|
||
(In reply to Margaret Leibovic [:margaret] from comment #2) > > The "mSearchTerm" change here is the only one that seemed potentially bad. > > Oops, I accidentally deleted that. To be clear, you're okay with the other > variables being removed there, just not mSearchTerm? Right.
Updated•12 years ago
|
tracking-fennec: --- → 11+
Priority: -- → P4
Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/c375946d5039
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c375946d5039
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Assignee | ||
Comment 6•12 years ago
|
||
Comment on attachment 590939 [details] [diff] [review] patch [Approval Request Comment] Code clean-up. It would be good to get this into Aurora to prevent conflicts. Landed on m-c this morning, so it will be in Nightly tomorrow.
Attachment #590939 -
Flags: approval-mozilla-aurora?
Comment 7•12 years ago
|
||
Comment on attachment 590939 [details] [diff] [review] patch [Triage Comment] Mobile only - approved for Aurora.
Attachment #590939 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 8•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/0fdbeccb55af
status-firefox11:
--- → fixed
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•