diff --git a/src/util/stackinfo.cpp b/src/util/stackinfo.cpp index be36c2904..f06c2bb47 100644 --- a/src/util/stackinfo.cpp +++ b/src/util/stackinfo.cpp @@ -17,7 +17,7 @@ void throw_get_stack_size_failed() { } #ifdef LEAN_WINDOWS -size_t get_stack_size(int main) { +size_t get_stack_size(int ) { return LEAN_WIN_STACK_SIZE; } #elif defined (__APPLE__)