Closed Bug 316842 Opened 19 years ago Closed 18 years ago

nsMsgSearchNewsEx dead code

Categories

(MailNews Core :: Search, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Mook, Assigned: Mook)

References

()

Details

Attachments

(1 file)

nsMsgSearchNewsEx is guarded by #ifdef EXNEWSSEARCH which is never defined.  Patch coming to remove that code.

Feel free to wontfix, I guess.  I'm just trying to kill dead code in hope of understanding mailnews one day :)
Please tell me if I'm at least going in the right direction - if I am, I'll go over the code a second time and add a follow-up to kill the dredd references (after confirming they do nothing).  Not sure if removal of dead code is actually desired, though I see no point of them existing :)
Attachment #203383 - Flags: review?(bienvenu)
Comment on attachment 203383 [details] [diff] [review]
remove unused code

seems good to me - I can land this...
Attachment #203383 - Flags: review?(bienvenu) → review+
Status: UNCONFIRMED → NEW
Ever confirmed: true
fix checked in, thx, mook.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
/mailnews/base/search/public/nsMsgSearchAdapter.h, line 201 -- #ifdef DOING_EXNEWSSEARCH
/mailnews/base/search/public/nsMsgSearchAdapter.h, line 217 -- #ifdef DOING_EXNEWSSEARCH
/mailnews/base/search/public/nsMsgSearchAdapter.h, line 237 -- #ifdef DOING_EXNEWSSEARCH

http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/mailnews/base/search/src&command=DIFF_FRAMESET&file=nsMsgSearchAdapter.cpp&rev1=1.81&rev2=1.82&root=/cvsroot

David, it appears that you missed the header file code removal...
oops, as StephenD points out, I forgot to check in the header file change. I've done so now.
verified via lxr.
Status: RESOLVED → VERIFIED
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: