From 329da83fd1f5ab2cb588deb79161146a9b27a32e Mon Sep 17 00:00:00 2001 From: Roelf-Jilling Date: Thu, 15 Nov 2018 22:18:04 +0100 Subject: [PATCH] Fix clang warning -Wmissing-variable-declarations --- tests/utils_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils_tests.cpp b/tests/utils_tests.cpp index 05f8d0f..42644c3 100644 --- a/tests/utils_tests.cpp +++ b/tests/utils_tests.cpp @@ -80,7 +80,7 @@ TEST_CASE("finally_function_with_bind") CHECK(i == 1); } -int j = 0; +static int j = 0; void g() { j += 1; } TEST_CASE("finally_function_ptr") {