Closed Bug 482008 Opened 16 years ago Closed 15 years ago

|Warning: xpcom/tests/TestOOM.cpp:64: unused variable 'big_alloc'|

Categories

(Core :: XPCOM, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: sgautherie, Unassigned)

References

()

Details

(Whiteboard: [good first bug])

No description provided.
we probably could just memset the buffer to avoid the warning. This might be better because touching the memory will ensure that it has been committed.
Whiteboard: [good first bug]
so, adding a line like this should do it: memset( big_alloc, anyrandomvalue(may be zero), 1024*1024*16 )
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.