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)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: sgautherie, Unassigned)
References
()
Details
(Whiteboard: [good first bug])
No description provided.
Comment 1•16 years ago
|
||
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.
| Reporter | ||
Updated•16 years ago
|
Whiteboard: [good first bug]
Comment 2•16 years ago
|
||
so, adding a line like this should do it:
memset( big_alloc, anyrandomvalue(may be zero), 1024*1024*16 )
Comment 3•15 years ago
|
||
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.
Description
•