Fix VC warning C4189
This commit is contained in:
parent
44d114f3ee
commit
49c29d057d
@ -35,6 +35,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
_CrtMemState memoryState = { 0 };
|
_CrtMemState memoryState = { 0 };
|
||||||
|
(void)memoryState;
|
||||||
_CrtMemCheckpoint(&memoryState);
|
_CrtMemCheckpoint(&memoryState);
|
||||||
//_CrtSetBreakAlloc(X);
|
//_CrtSetBreakAlloc(X);
|
||||||
//void *testWhetherMemoryLeakDetectionWorks = malloc(1);
|
//void *testWhetherMemoryLeakDetectionWorks = malloc(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user