Closed Bug 603324 Opened 14 years ago Closed 14 years ago

checkGuardBlock could be written with an ifdef GUARD_BLOCKS

Categories

(Core :: Graphics, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: timeless, Assigned: timeless)

References

(Blocks 1 open bug)

Details

(Keywords: coverity)

Attachments

(1 file)

159 #ifdef GUARD_BLOCKS
160     const size_t TAllocation::guardBlockSize = 16;
161 #else
162     const size_t TAllocation::guardBlockSize = 0;
163 #endif


168 void TAllocation::checkGuardBlock(unsigned char* blockMem, unsigned char val, const char* locText) const
169 {

this is never true ifndef GUARD_BLOCKS
170     for (size_t x = 0; x < guardBlockSize; x++) {
179     }
180 }
Attached patch guardSplinter Review
Assignee: nobody → timeless
As angleprojet issue 61 status is "wontfix", this bug must be closed as "wontfix".
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: