mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Fix more zero length memset warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128543 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4499176789
commit
d01f2633b9
@ -422,7 +422,8 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
memset(OldBuckets, 0x5a, sizeof(BucketT)*OldNumBuckets);
|
if (OldNumBuckets)
|
||||||
|
memset(OldBuckets, 0x5a, sizeof(BucketT)*OldNumBuckets);
|
||||||
#endif
|
#endif
|
||||||
// Free the old table.
|
// Free the old table.
|
||||||
operator delete(OldBuckets);
|
operator delete(OldBuckets);
|
||||||
|
Loading…
Reference in New Issue
Block a user