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

Issue 202993003: Fix "unreachable code" warnings (MSVC warning 4702) in base/. (Closed)

Created:
6 years, 9 months ago by Peter Kasting
Modified:
6 years, 9 months ago
Reviewers:
Nico
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

Fix "unreachable code" warnings (MSVC warning 4702) in base/. This also does a little bit of code formatting in the hopes of shorter, more readable code. BUG=346399 TEST=none R=thakis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258398

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -9 lines) Patch
M base/test/expectations/expectation.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M base/win/event_trace_consumer_unittest.cc View 1 3 chunks +2 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Peter Kasting
https://codereview.chromium.org/202993003/diff/1/base/win/event_trace_consumer_unittest.cc File base/win/event_trace_consumer_unittest.cc (right): https://codereview.chromium.org/202993003/diff/1/base/win/event_trace_consumer_unittest.cc#newcode58 base/win/event_trace_consumer_unittest.cc:58: if (event->MofData != NULL && event->MofLength != 0) { ...
6 years, 9 months ago (2014-03-18 03:17:09 UTC) #1
Nico
Please revert most of the style changes: * "if (a) return b; return c;" vs ...
6 years, 9 months ago (2014-03-18 10:29:47 UTC) #2
Peter Kasting
I moved all style changes (that I thought weren't purely subjective) to https://codereview.chromium.org/203223008/ . I ...
6 years, 9 months ago (2014-03-18 19:26:17 UTC) #3
Nico
On Tue, Mar 18, 2014 at 7:26 PM, <pkasting@chromium.org> wrote: > I moved all style ...
6 years, 9 months ago (2014-03-19 10:33:09 UTC) #4
Peter Kasting
On 2014/03/19 10:33:09, Nico (on GMT time Mar 15 - 24) wrote: > > at() ...
6 years, 9 months ago (2014-03-19 17:57:48 UTC) #5
Peter Kasting
OK, PTAL. The change now only has one minor style change in it, which is ...
6 years, 9 months ago (2014-03-19 21:34:50 UTC) #6
Nico
On Wed, Mar 19, 2014 at 5:57 PM, <pkasting@chromium.org> wrote: > On 2014/03/19 10:33:09, Nico ...
6 years, 9 months ago (2014-03-20 16:08:49 UTC) #7
Nico
lgtm Thanks for splitting this up, this made it much easier to understand what's going ...
6 years, 9 months ago (2014-03-20 16:12:24 UTC) #8
Peter Kasting
6 years, 9 months ago (2014-03-20 20:37:46 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r258398 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698