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

Issue 209183003: Fix "unreachable code" warnings (MSVC warning 4702) in a PPAPI test. (Closed)

Created:
6 years, 9 months ago by Peter Kasting
Modified:
6 years, 9 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fix "unreachable code" warnings (MSVC warning 4702) in a PPAPI test. We can't convert preprocessor defines into unconditional early-returns. Instead make these functions simply do nothing when DISABLE_NACL is on. BUG=346399 TEST=none R=dmichael@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258971

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -16 lines) Patch
M chrome/test/ppapi/ppapi_test.cc View 4 chunks +16 lines, -16 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Peter Kasting
6 years, 9 months ago (2014-03-22 00:38:13 UTC) #1
dmichael (off chromium)
lgtm
6 years, 9 months ago (2014-03-24 17:10:12 UTC) #2
Peter Kasting
6 years, 9 months ago (2014-03-24 18:12:28 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r258971 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698