From 49c29d057d3025d02b975bc9ed07e22ca166d317 Mon Sep 17 00:00:00 2001 From: Milo Yip Date: Wed, 6 Apr 2016 01:16:00 +0800 Subject: [PATCH] Fix VC warning C4189 --- test/unittest/unittest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unittest/unittest.cpp b/test/unittest/unittest.cpp index e0e8576..b754563 100644 --- a/test/unittest/unittest.cpp +++ b/test/unittest/unittest.cpp @@ -35,6 +35,7 @@ int main(int argc, char **argv) { #ifdef _MSC_VER _CrtMemState memoryState = { 0 }; + (void)memoryState; _CrtMemCheckpoint(&memoryState); //_CrtSetBreakAlloc(X); //void *testWhetherMemoryLeakDetectionWorks = malloc(1);