Closed Bug 684451 Opened 9 years ago Closed 9 years ago

Use NS_ARRAY_LENGTH

Categories

(MailNews Core :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 9.0

People

(Reporter: hiro, Assigned: hiro)

Details

Attachments

(1 file)

There are some "sizeof(Struct) / sizeof(Struct[0])" in mailnews/base/search.

Those should be replaced by NS_ARRAY_LENGTH macro.
Attached patch FixSplinter Review
Attachment #558042 - Flags: review?(dbienvenu)
Attachment #558042 - Flags: review?(dbienvenu) → review+
Assignee: nobody → hiikezoe
Keywords: checkin-needed
https://hg.mozilla.org/comm-central/rev/ad649b83926e
Status: NEW → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 9.0
You need to log in before you can comment on or make changes to this bug.