diff options
-rw-r--r-- | src/xorg-gtest_main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xorg-gtest_main.cpp b/src/xorg-gtest_main.cpp index 459c003..a1cdbe4 100644 --- a/src/xorg-gtest_main.cpp +++ b/src/xorg-gtest_main.cpp @@ -53,10 +53,10 @@ const struct option longopts[] = { { nullptr, 0, nullptr, 0 } }; -} // namespace - xorg::testing::Environment* environment = nullptr; +} // namespace + static void signal_handler(int signum) { if (environment) environment->Kill(); |