Fixes for re-enabling more MSVC level 4 warnings: sandbox/ edition
commit61542fa828eea7bc31bb8d3eeefbf00acf0fc43a
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Jul 2014 22:56:22 +0000 (10 22:56 +0000)
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 10 Jul 2014 22:56:22 +0000 (10 22:56 +0000)
treeb94073e764658c0ea65dc48fdb8630c93777cc76
parent8a6d68d19a350fa7a512b86ea97ce647d6f737e1
Fixes for re-enabling more MSVC level 4 warnings: sandbox/ edition

This contains fixes for the following sorts of issues:
* Assignment inside conditional
* Possibly-uninitialized local variable
* Signedness mismatch

This also contains a small number of other cleanups/simplifications to
nearby code.

BUG=81439
TEST=none

Review URL: https://codereview.chromium.org/382613002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282451 0039d316-1c4b-4281-b951-d872f2087c98
sandbox/win/src/handle_closer_test.cc
sandbox/win/src/handle_dispatcher.cc
sandbox/win/src/handle_interception.cc
sandbox/win/src/process_policy_test.cc
sandbox/win/src/sync_dispatcher.cc
sandbox/win/src/sync_policy.cc
sandbox/win/src/sync_policy.h
sandbox/win/tests/common/controller.cc
sandbox/win/tests/validation_tests/commands.cc