mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-27 11:06:53 +01:00
Fix VC warning C4189
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user