Index: chrome/browser/cocoa/authorization_util.mm |
diff --git a/chrome/browser/cocoa/authorization_util.mm b/chrome/browser/cocoa/authorization_util.mm |
index 709fcc153a3c6d57129d368dba61f9bc23c16bef..a879db263fe857eae8deb1f1e6940a558c41f957 100644 |
--- a/chrome/browser/cocoa/authorization_util.mm |
+++ b/chrome/browser/cocoa/authorization_util.mm |
@@ -167,8 +167,7 @@ OSStatus ExecuteWithPrivilegesAndWait(AuthorizationRef authorization, |
} |
if (pid != -1) { |
- pid_t wait_result; |
- HANDLE_EINTR(wait_result = waitpid(pid, exit_status_pointer, 0)); |
+ pid_t wait_result = HANDLE_EINTR(waitpid(pid, exit_status_pointer, 0)); |
if (wait_result != pid) { |
PLOG(ERROR) << "waitpid"; |
*exit_status_pointer = -1; |