Closed Bug 617667 Opened 14 years ago Closed 14 years ago

useless null check of aIsMisspelled in [@ mozSpellChecker::CheckWord]

Categories

(Core :: Spelling checker, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b8

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity)

Attachments

(1 file)

143 mozSpellChecker::CheckWord(const nsAString &aWord, PRBool *aIsMisspelled, nsTArray<nsString> *aSuggestions)
144 {
156   *aIsMisspelled = PR_FALSE;

173     if(aIsMisspelled){
174       *aIsMisspelled = PR_TRUE;
Attached patch patchSplinter Review
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #496381 - Flags: review?(bzbarsky)
Attachment #496381 - Flags: approval2.0?
Attachment #496381 - Flags: review?(bzbarsky)
Attachment #496381 - Flags: review+
Attachment #496381 - Flags: approval2.0?
Attachment #496381 - Flags: approval2.0+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/d03bbf388b4c
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: