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

Issue 382673002: Fixes for re-enabling more MSVC level 4 warnings: misc edition #2 (Closed)

Created:
6 years, 5 months ago by Peter Kasting
Modified:
6 years, 5 months ago
CC:
chromium-reviews, michaeln, extensions-reviews_chromium.org, sadrul, zea+watch_chromium.org, tfarina, haitaol+watch_chromium.org, jam, dcheng, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, kalyank, tim+watch_chromium.org, ben+ash_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

Fixes for re-enabling more MSVC level 4 warnings: misc edition #2 This contains fixes for the following sorts of issues: * Assignment inside conditional * Taking the address of a temporary * Octal escape sequence terminated by decimal number * Signedness mismatch * Possibly-uninitialized local variable This also contains a small number of cleanups to nearby code (e.g. no else after return). BUG=81439 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283967

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fix bug in mcs_client.cc #

Patch Set 3 : Review comments #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -132 lines) Patch
M ash/drag_drop/drag_drop_controller.cc View 1 2 3 5 chunks +12 lines, -6 lines 0 comments Download
M cloud_print/virtual_driver/win/install/setup.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M crypto/symmetric_key_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_socket_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/extension_prefs.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/common/id_util.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M google_apis/gaia/fake_gaia.cc View 4 chunks +37 lines, -35 lines 0 comments Download
M ipc/ipc_message_utils.cc View 1 chunk +11 lines, -15 lines 0 comments Download
M jingle/glue/thread_wrapper_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M jingle/glue/utils.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M skia/ext/pixel_ref_utils_unittest.cc View 1 2 1 chunk +1 line, -9 lines 0 comments Download
M skia/ext/platform_canvas_unittest.cc View 1 2 3 chunks +10 lines, -13 lines 0 comments Download
M sql/recovery.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M sync/internal_api/public/base/invalidation.cc View 1 2 3 4 1 chunk +18 lines, -19 lines 0 comments Download
M sync/internal_api/sync_manager_impl_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/gn/tokenizer.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M tools/json_to_struct/json_to_struct.py View 1 chunk +3 lines, -3 lines 0 comments Download
M win8/metro_driver/ime/text_store.cc View 3 chunks +7 lines, -11 lines 0 comments Download

Messages

Total messages: 32 (0 generated)
Peter Kasting
zea: google_apis/gcm/engine/mcs_client.cc senorblanco: skia/ext/pixel_ref_utils_unittest.cc darin: rest https://codereview.chromium.org/382673002/diff/1/google_apis/gcm/engine/mcs_client.cc File google_apis/gcm/engine/mcs_client.cc (right): https://codereview.chromium.org/382673002/diff/1/google_apis/gcm/engine/mcs_client.cc#newcode774 google_apis/gcm/engine/mcs_client.cc:774: StreamId last_stream_id_received = ...
6 years, 5 months ago (2014-07-09 22:19:55 UTC) #1
Nicolas Zea
https://codereview.chromium.org/382673002/diff/1/google_apis/gcm/engine/mcs_client.cc File google_apis/gcm/engine/mcs_client.cc (right): https://codereview.chromium.org/382673002/diff/1/google_apis/gcm/engine/mcs_client.cc#newcode774 google_apis/gcm/engine/mcs_client.cc:774: StreamId last_stream_id_received = 0xFFFFFFFF; On 2014/07/09 22:19:54, Peter Kasting ...
6 years, 5 months ago (2014-07-09 22:52:35 UTC) #2
Peter Kasting
https://codereview.chromium.org/382673002/diff/1/google_apis/gcm/engine/mcs_client.cc File google_apis/gcm/engine/mcs_client.cc (right): https://codereview.chromium.org/382673002/diff/1/google_apis/gcm/engine/mcs_client.cc#newcode774 google_apis/gcm/engine/mcs_client.cc:774: StreamId last_stream_id_received = 0xFFFFFFFF; On 2014/07/09 22:52:35, Nicolas Zea ...
6 years, 5 months ago (2014-07-09 23:34:25 UTC) #3
Nicolas Zea
gcm LGTM
6 years, 5 months ago (2014-07-10 00:58:28 UTC) #4
Stephen White
https://codereview.chromium.org/382673002/diff/1/skia/ext/pixel_ref_utils_unittest.cc File skia/ext/pixel_ref_utils_unittest.cc (right): https://codereview.chromium.org/382673002/diff/1/skia/ext/pixel_ref_utils_unittest.cc#newcode39 skia/ext/pixel_ref_utils_unittest.cc:39: reader->skip(static_cast<size_t>(-4)); //!!? Is this safe? On 2014/07/09 22:19:54, Peter ...
6 years, 5 months ago (2014-07-10 02:13:56 UTC) #5
vmpstr
On 2014/07/10 02:13:56, Stephen White wrote: > https://codereview.chromium.org/382673002/diff/1/skia/ext/pixel_ref_utils_unittest.cc > File skia/ext/pixel_ref_utils_unittest.cc (right): > > https://codereview.chromium.org/382673002/diff/1/skia/ext/pixel_ref_utils_unittest.cc#newcode39 ...
6 years, 5 months ago (2014-07-10 21:55:38 UTC) #6
Peter Kasting
New snap up. On 2014/07/10 21:55:38, vmpstr wrote: > On 2014/07/10 02:13:56, Stephen White wrote: ...
6 years, 5 months ago (2014-07-10 23:01:47 UTC) #7
Stephen White
skia/ext LGTM
6 years, 5 months ago (2014-07-11 14:07:37 UTC) #8
Peter Kasting
Friendly ping for Darin
6 years, 5 months ago (2014-07-11 17:22:03 UTC) #9
Peter Kasting
Ben, Darin seems to be unresponsive, could you review this?
6 years, 5 months ago (2014-07-14 22:18:07 UTC) #10
Peter Kasting
Ping for either Ben or Darin -- you guys are the two top-level OWNERS, so ...
6 years, 5 months ago (2014-07-16 20:19:59 UTC) #11
Ben Goodger (Google)
lgtm
6 years, 5 months ago (2014-07-16 20:31:47 UTC) #12
Peter Kasting
The CQ bit was checked by pkasting@chromium.org
6 years, 5 months ago (2014-07-16 20:32:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkasting@chromium.org/382673002/40001
6 years, 5 months ago (2014-07-16 20:37:29 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-16 20:45:25 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-16 20:51:17 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/80349) ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/170835) ios_rel_device_ninja ...
6 years, 5 months ago (2014-07-16 20:51:19 UTC) #17
Peter Kasting
The CQ bit was checked by pkasting@chromium.org
6 years, 5 months ago (2014-07-16 20:53:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkasting@chromium.org/382673002/60001
6 years, 5 months ago (2014-07-16 20:55:15 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 00:34:12 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 01:07:53 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/80419)
6 years, 5 months ago (2014-07-17 01:07:55 UTC) #22
Peter Kasting
+rpaquay for device/bluetooth/bluetooth_socket_win.cc
6 years, 5 months ago (2014-07-17 01:09:59 UTC) #23
rpaquay
lgtm
6 years, 5 months ago (2014-07-17 18:27:36 UTC) #24
Peter Kasting
The CQ bit was checked by pkasting@chromium.org
6 years, 5 months ago (2014-07-17 18:27:51 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkasting@chromium.org/382673002/60001
6 years, 5 months ago (2014-07-17 18:30:49 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-17 19:14:07 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-17 19:18:58 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/80654) linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/40679) mac_gpu ...
6 years, 5 months ago (2014-07-17 19:18:59 UTC) #29
Peter Kasting
The CQ bit was checked by pkasting@chromium.org
6 years, 5 months ago (2014-07-17 21:47:49 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkasting@chromium.org/382673002/80001
6 years, 5 months ago (2014-07-17 21:48:39 UTC) #31
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 01:40:57 UTC) #32
Message was sent while issue was closed.
Change committed as 283967

Powered by Google App Engine
This is Rietveld 408576698