summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/examples
diff options
context:
space:
mode:
authormseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-05 21:17:36 +0000
committermseaborn@chromium.org <mseaborn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-05 21:17:36 +0000
commit8f4c7fc106eeea7e1cb5835d874efe6cb9f38c15 (patch)
treeed7c944abd2348f7e6c062c3838426eaa3213190 /native_client_sdk/src/examples
parentff672b7b041300c6c7d8c34b441c85a5d45b0eae (diff)
downloadchromium_src-8f4c7fc106eeea7e1cb5835d874efe6cb9f38c15.zip
chromium_src-8f4c7fc106eeea7e1cb5835d874efe6cb9f38c15.tar.gz
chromium_src-8f4c7fc106eeea7e1cb5835d874efe6cb9f38c15.tar.bz2
NaCl SDK: Remove some unused variables in url_loader.cc example
PNaCl is being upgraded to Clang 3.4, which now warns about unused declarations inside anonymous namespaces. BUG=https://code.google.com/p/nativeclient/issues/detail?id=3757 TEST=compile using new PNaCl toolchain R=binji@chromium.org Review URL: https://codereview.chromium.org/183743028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255149 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/src/examples')
-rw-r--r--native_client_sdk/src/examples/api/url_loader/url_loader.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/native_client_sdk/src/examples/api/url_loader/url_loader.cc b/native_client_sdk/src/examples/api/url_loader/url_loader.cc
index d000a93..7af8c6e 100644
--- a/native_client_sdk/src/examples/api/url_loader/url_loader.cc
+++ b/native_client_sdk/src/examples/api/url_loader/url_loader.cc
@@ -17,11 +17,6 @@
namespace {
const char* const kLoadUrlMethodId = "getUrl";
static const char kMessageArgumentSeparator = ':';
-
-// Exception strings. These are passed back to the browser when errors
-// happen during property accesses or method calls.
-const char* const kExceptionStartFailed = "URLLoaderHandler::Start() failed";
-const char* const kExceptionURLNotAString = "URL is not a string";
} // namespace
class URLLoaderInstance : public pp::Instance {