From ea67eeb4e8e6cdbaa8770935a848b11d231217bb Mon Sep 17 00:00:00 2001 From: Andres AG Date: Wed, 2 Nov 2016 10:17:00 +0000 Subject: [PATCH] Remove unused var warnings in windows unittests --- tests/suites/main_test.function | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/suites/main_test.function b/tests/suites/main_test.function index afff5a482..a7bb41de3 100644 --- a/tests/suites/main_test.function +++ b/tests/suites/main_test.function @@ -261,7 +261,9 @@ int main(int argc, const char *argv[]) char buf[5000]; char *params[50]; void *pointer; +#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) int stdout_fd = -1; +#endif /* __unix__ || __APPLE__ __MACH__ */ #if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C) && \ !defined(TEST_SUITE_MEMORY_BUFFER_ALLOC)