Closed Bug 454485 Opened 16 years ago Closed 16 years ago

Clean up unused variables in places

Categories

(Firefox :: Bookmarks & History, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Swatinem, Assigned: Swatinem)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Vars only used in debug builds are wrapped in #ifdefs Who is the right peer for review here?
Comment on attachment 337757 [details] [diff] [review] patch Ugh - not sure I like the look of that new code. Also, I think we might want to treat those a bit more fatally... dietrich can decide though
Attachment #337757 - Flags: review?(dietrich)
Blocks: 454709
Attachment #337757 - Flags: review?(dietrich) → review-
Comment on attachment 337757 [details] [diff] [review] patch Thanks for thinking about this Arpad. However, this pattern is persistent throughout the Mozilla codebase, and your approach makes the code very difficult to read. I think a better approach would be a more comprehensive one, that addresses this issue throughout the codebase, via a preprocessor of some kind, that removes these for release builds at compile-time.
WONTFIXing this. if you're interested in a broader approach, please file a new bug. (In reply to comment #1) > Also, I think we might want > to treat those a bit more fatally... Agreed, for some of those, clearly corruption or other mangling has happened, and we should bubble up to a backup+recovery scenario.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: