]> git-server-git.apps.pok.os.sepia.ceph.com Git - googletest.git/commitdiff
Fix unused static variable warning on Windows
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>
Wed, 9 Sep 2015 09:32:57 +0000 (12:32 +0300)
committerOrgad Shaneh <orgad.shaneh@audiocodes.com>
Wed, 9 Sep 2015 09:32:57 +0000 (12:32 +0300)
googletest/src/gtest-death-test.cc

index c076d072b8c8ebe836d81f2a6e1eba5f40c39e0c..a01a3698308782821e4f90f41285128b75c8e3ba 100644 (file)
@@ -121,7 +121,9 @@ namespace internal {
 
 // Valid only for fast death tests. Indicates the code is running in the
 // child process of a fast style death test.
+# if !GTEST_OS_WINDOWS
 static bool g_in_fast_death_test_child = false;
+# endif
 
 // Returns a Boolean value indicating whether the caller is currently
 // executing in the context of the death test child process.  Tools such as