Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
a490fb7a
Unverified
Commit
a490fb7a
authored
Feb 22, 2018
by
Gennadiy Civil
Committed by
GitHub
Feb 22, 2018
Browse files
Merge pull request #1466 from pwnall/fix-death-warn
Fix unused function warning on Mac OS.
parents
32e62da2
ac138b68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
googletest/src/gtest-death-test.cc
googletest/src/gtest-death-test.cc
+2
-0
No files found.
googletest/src/gtest-death-test.cc
View file @
a490fb7a
...
...
@@ -983,6 +983,7 @@ static int ExecDeathTestChildMain(void* child_arg) {
}
# endif // !GTEST_OS_QNX
# if GTEST_HAS_CLONE
// Two utility routines that together determine the direction the stack
// grows.
// This could be accomplished more elegantly by a single recursive
...
...
@@ -1007,6 +1008,7 @@ static bool StackGrowsDown() {
StackLowerThanAddress
(
&
dummy
,
&
result
);
return
result
;
}
# endif // GTEST_HAS_CLONE
// Spawns a child process with the same executable as the current process in
// a thread-safe manner and instructs it to run the death test. The
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment