Commit 49c29d05 authored by Milo Yip's avatar Milo Yip

Fix VC warning C4189

parent 44d114f3
...@@ -35,6 +35,7 @@ int main(int argc, char **argv) { ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment