Index: sandbox/win/src/handle_policy.cc |
diff --git a/sandbox/win/src/handle_policy.cc b/sandbox/win/src/handle_policy.cc |
index f5f1c273b969be0dc8fe207ce3765b7151ecf694..1023030792741636ef34d7c30e78c82a0a26082d 100644 |
--- a/sandbox/win/src/handle_policy.cc |
+++ b/sandbox/win/src/handle_policy.cc |
@@ -79,7 +79,6 @@ DWORD HandlePolicy::DuplicateHandleProxyAction(EvalResult eval_result, |
// (this process) is the valid target. |
HANDLE target_process = remote_target_process.IsValid() ? |
remote_target_process.Get() : ::GetCurrentProcess(); |
- DWORD result = ERROR_SUCCESS; |
if (!::DuplicateHandle(::GetCurrentProcess(), source_handle, target_process, |
target_handle, desired_access, FALSE, |
options)) { |