Closed Bug 181545 Opened 23 years ago Closed 23 years ago

Removal of dead code from mime

Categories

(MailNews Core :: MIME, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.3alpha

People

(Reporter: bratell, Assigned: bratell)

Details

Attachments

(1 file)

There are some dead code and unused variables in mailnews/mime. A patch coming up to remove them.
Attachment #107180 - Flags: superreview?(sspitzer)
Attachment #107180 - Flags: review?(bienvenu)
you want a review from ducarroz and an sr from me or Seth.
Comment on attachment 107180 [details] [diff] [review] Just removal of some dead stuff Ok, I was just grabbing mail people names out of a hat. :-)
Attachment #107180 - Flags: superreview?(sspitzer)
Attachment #107180 - Flags: superreview?(bienvenu)
Attachment #107180 - Flags: review?(ducarroz)
Attachment #107180 - Flags: review?(bienvenu)
Comment on attachment 107180 [details] [diff] [review] Just removal of some dead stuff I attached the wrong file. There's a typo in mimetenr.cpp in this one. The #ifdef should have a matching #endif. Consider it correct in my tree.
Comment on attachment 107180 [details] [diff] [review] Just removal of some dead stuff please get ducarroz to review. are you sure mime_reformat_date isn't used? see http://lxr.mozilla.org/mozilla/search?string=mime_reformat_date http://lxr.mozilla.org/mozilla/search?string=reformat_date_fn +#define to +#endif
Attachment #107180 - Flags: superreview?(bienvenu)
Comment on attachment 107180 [details] [diff] [review] Just removal of some dead stuff R=ducarroz
Attachment #107180 - Flags: review?(ducarroz) → review+
Comment on attachment 107180 [details] [diff] [review] Just removal of some dead stuff sr=bienvenu
Attachment #107180 - Flags: superreview+
The references to mime_reformat_date that lxr finds is for a different copy of the same function. The function I removed was |static| so it couldn't be referenced outside the file.
Assignee: ducarroz → bratell
Target Milestone: --- → mozilla1.3alpha
Patch checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
OS: Windows 2000 → All
QA Contact: yulian → stephend
Hardware: PC → All
Verified FIXED using LXR (and my local source-tree).
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: