Closed Bug 1158772 Opened 7 years ago Closed 7 years ago

fix non-idiomatic memset call in nsDeque.cpp

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

Details

Attachments

(1 file)

Coverty complains that we're using sizeof(mData) here instead of
sizeof(*mData).  They're equivalent for all the architectures we care about,
but go ahead and tidy up the syntax to silence the static analyzer.
Coverty complains that we're using sizeof(mData) here instead of
sizeof(*mData).  They're equivalent for all the architectures we care about,
but go ahead and tidy up the syntax to silence the static analyzer.
Attachment #8597953 - Flags: review?(erahm)
Comment on attachment 8597953 [details] [diff] [review]
fix non-idiomatic memset call in nsDeque.cpp

Review of attachment 8597953 [details] [diff] [review]:
-----------------------------------------------------------------

r=me.
Attachment #8597953 - Flags: review?(erahm) → review+
https://hg.mozilla.org/mozilla-central/rev/4f898b4ffd63
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.