Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Issue 382613002: Fixes for re-enabling more MSVC level 4 warnings: sandbox/ edition (Closed)

Created:
6 years, 5 months ago by Peter Kasting
Modified:
6 years, 5 months ago
Reviewers:
cpu_(ooo_6.6-7.5)
CC:
chromium-reviews
Visibility:
Public.

Description

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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282451

Patch Set 1 #

Total comments: 7

Patch Set 2 : Review comments + cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -58 lines) Patch
M sandbox/win/src/handle_closer_test.cc View 1 chunk +2 lines, -1 line 0 comments Download
M sandbox/win/src/handle_dispatcher.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M sandbox/win/src/handle_interception.cc View 1 chunk +1 line, -1 line 0 comments Download
M sandbox/win/src/process_policy_test.cc View 1 1 chunk +8 lines, -16 lines 0 comments Download
M sandbox/win/src/sync_dispatcher.cc View 1 3 chunks +7 lines, -11 lines 0 comments Download
M sandbox/win/src/sync_policy.h View 1 chunk +11 lines, -11 lines 0 comments Download
M sandbox/win/src/sync_policy.cc View 2 chunks +11 lines, -11 lines 0 comments Download
M sandbox/win/tests/common/controller.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M sandbox/win/tests/validation_tests/commands.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Peter Kasting
https://codereview.chromium.org/382613002/diff/1/sandbox/win/src/handle_dispatcher.cc File sandbox/win/src/handle_dispatcher.cc (right): https://codereview.chromium.org/382613002/diff/1/sandbox/win/src/handle_dispatcher.cc#newcode70 sandbox/win/src/handle_dispatcher.cc:70: ipc->return_info.nt_status = error; Note that because win32_result and nt_status ...
6 years, 5 months ago (2014-07-09 18:55:19 UTC) #1
cpu_(ooo_6.6-7.5)
nice cleanup, thanks. lgtm with the following comments https://codereview.chromium.org/382613002/diff/1/sandbox/win/src/handle_dispatcher.cc File sandbox/win/src/handle_dispatcher.cc (right): https://codereview.chromium.org/382613002/diff/1/sandbox/win/src/handle_dispatcher.cc#newcode70 sandbox/win/src/handle_dispatcher.cc:70: ipc->return_info.nt_status ...
6 years, 5 months ago (2014-07-10 00:49:35 UTC) #2
Peter Kasting
(New patch not up yet because I ran out of time, will upload tomorrow; in ...
6 years, 5 months ago (2014-07-10 01:19:31 UTC) #3
Peter Kasting
New snap up. I also fixed a few Chromium style guide violations (no else after ...
6 years, 5 months ago (2014-07-10 18:17:42 UTC) #4
cpu_(ooo_6.6-7.5)
there was no action required in my comment. Just an observation.
6 years, 5 months ago (2014-07-10 21:37:17 UTC) #5
Peter Kasting
The CQ bit was checked by pkasting@chromium.org
6 years, 5 months ago (2014-07-10 21:38:08 UTC) #6
Peter Kasting
On 2014/07/10 21:37:17, cpu wrote: > there was no action required in my comment. Just ...
6 years, 5 months ago (2014-07-10 21:38:35 UTC) #7
cpu_(ooo_6.6-7.5)
lgtm on the new style changes as well.
6 years, 5 months ago (2014-07-10 21:39:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkasting@chromium.org/382613002/20001
6 years, 5 months ago (2014-07-10 21:41:13 UTC) #9
commit-bot: I haz the power
6 years, 5 months ago (2014-07-10 22:56:25 UTC) #10
Message was sent while issue was closed.
Change committed as 282451

Powered by Google App Engine
This is Rietveld 408576698