Closed Bug 889031 Opened 12 years ago Closed 12 years ago

remove some obsolete code from comm-central

Categories

(MailNews Core :: Backend, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 25.0

People

(Reporter: aceman, Assigned: aceman)

Details

(Keywords: addon-compat)

Attachments

(1 file, 1 obsolete file)

There is some code marked obsolete/deprecated with no in-tree users. Let's try to remove it now that TB24 is branched. Also update some PRInt32 -> int32 types and such stuff.
Attached patch patch (obsolete) — Splinter Review
Attachment #769813 - Flags: review?(neil)
Attachment #769813 - Flags: review?(mkmelin+mozilla)
Attachment #769813 - Flags: review?(iann_bugzilla)
Comment on attachment 769813 [details] [diff] [review] patch >- return GetAsciiHeader(MSG_TEMPORARY_FILES_HEADER_ID); >- } >+ const char* GetAttachments() {return GetAsciiHeader(MSG_ATTACHMENTS_HEADER_ID);} This isn't used; neither are either of the enum values, so they can all go. r=me with that fixed based on code inspection. >- // make sure the oid of the table is 1. >- struct mdbOid folderInfoTableOID; >- folderInfoTableOID.mOid_Id = 1; >- folderInfoTableOID.mOid_Scope = m_rowScopeToken; I scoured CVS history, this variable was used for about the first 100 hours of March 1999 before being commented out (and later deleted, but sadly not the declaration).
Attachment #769813 - Flags: review?(neil) → review+
Attached patch patch v2Splinter Review
Ok, thanks.
Attachment #769813 - Attachment is obsolete: true
Attachment #769813 - Flags: review?(mkmelin+mozilla)
Attachment #769813 - Flags: review?(iann_bugzilla)
Attachment #770447 - Flags: review?(mkmelin+mozilla)
Attachment #770447 - Flags: review?(iann_bugzilla)
Comment on attachment 770447 [details] [diff] [review] patch v2 Review of attachment 770447 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, r=mkmelin
Attachment #770447 - Flags: review?(mkmelin+mozilla) → review+
Marking addon-compat as some addons may have been using the removed functions. But I intentionally did this after TB24 branched so they have time until TB31 to update.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 25.0
Comment on attachment 770447 [details] [diff] [review] patch v2 Neil already gave it an r+ (plus it has landed), so removing the request
Attachment #770447 - Flags: review?(iann_bugzilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: