Fix VC warning C4189

This commit is contained in:
Milo Yip 2016-04-06 01:16:00 +08:00
parent 44d114f3ee
commit 49c29d057d

View File

@ -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);