Fix the build without MBEDTLS_DEBUG_C

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function
index bcc3713..6dab2b4 100644
--- a/tests/suites/test_suite_ssl.function
+++ b/tests/suites/test_suite_ssl.function
@@ -3040,6 +3040,9 @@
 #if defined(MBEDTLS_DEBUG_C)
     mbedtls_test_ssl_log_pattern cli_pattern = { .pattern = client_log };
     mbedtls_test_ssl_log_pattern srv_pattern = { .pattern = server_log };
+#else
+    (void) client_log;
+    (void) server_log;
 #endif
     int ret = 0;
 
@@ -3053,8 +3056,6 @@
 #if defined(MBEDTLS_DEBUG_C)
     client_options.cli_log_obj = &cli_pattern;
     client_options.cli_log_fun = mbedtls_test_ssl_log_analyzer;
-#else
-    (void) cli_pattern;
 #endif
     TEST_EQUAL(mbedtls_test_ssl_endpoint_init(&client, MBEDTLS_SSL_IS_CLIENT,
                                               &client_options, NULL, NULL,
@@ -3069,8 +3070,6 @@
 #if defined(MBEDTLS_DEBUG_C)
     server_options.srv_log_obj = &srv_pattern;
     server_options.srv_log_fun = mbedtls_test_ssl_log_analyzer;
-#else
-    (void) srv_pattern;
 #endif
     TEST_EQUAL(mbedtls_test_ssl_endpoint_init(&server, MBEDTLS_SSL_IS_SERVER,
                                               &server_options, NULL, NULL,