commit | 3568a91dc4ff490c2c9419f0e44798671291d785 | [log] [tgz] |
---|---|---|
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Mar 24 18:12:27 2014 |
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Mon Mar 24 18:12:27 2014 |
tree | 881faafd4d3459e1a318052c30e6806fa40a32af | |
parent | 99c892d6ae4e68c349693104d2734926d5a4679f [diff] |
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 Review URL: https://codereview.chromium.org/209183003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258971 0039d316-1c4b-4281-b951-d872f2087c98