From a363a84f1e52b958d0aa04d2d5554b5f949908cc Mon Sep 17 00:00:00 2001 From: "hans@chromium.org" Date: Tue, 14 Sep 2010 09:38:11 +0000 Subject: Handle return value from HANDLE_EINTR in process_singleton_linux_uitest.cc. Clang complains about this unused return value. BUG=none TEST=none Review URL: http://codereview.chromium.org/3334016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59352 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/process_singleton_linux_uitest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/browser/process_singleton_linux_uitest.cc b/chrome/browser/process_singleton_linux_uitest.cc index f32eb1d..c9f72de 100644 --- a/chrome/browser/process_singleton_linux_uitest.cc +++ b/chrome/browser/process_singleton_linux_uitest.cc @@ -164,7 +164,7 @@ TEST_F(ProcessSingletonLinuxTest, NotifyOtherProcessFailure) { // Wait to make sure the browser process is actually stopped. // It's necessary when running with valgrind. - HANDLE_EINTR(waitpid(pid, 0, WUNTRACED)); + EXPECT_GE(HANDLE_EINTR(waitpid(pid, 0, WUNTRACED)), 0); std::string url("about:blank"); EXPECT_EQ(ProcessSingleton::PROCESS_NONE, -- cgit v1.1