diff --git a/cmake/utils/CheckJemallocBuilds.c b/cmake/utils/CheckJemallocBuilds.c index 489e55ed..ba4f1ef1 100644 --- a/cmake/utils/CheckJemallocBuilds.c +++ b/cmake/utils/CheckJemallocBuilds.c @@ -1,6 +1,7 @@ #include int main(int argc, char** argv) { + void *volatile dummyPtr = malloc(42); (void)argv; - return argc + (int)(malloc(42)); + return argc; }