summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 20:21:50 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 20:21:50 +0000
commit5f73abf8bd01f600f56d0f218a6460f0e47f60c9 (patch)
treea799b008b22d4125cf6c84ac58a84b24fed338d0 /webkit/glue
parentbe21555a228e74b1ad6f3314ae882cf21bc3c24e (diff)
downloadchromium_src-5f73abf8bd01f600f56d0f218a6460f0e47f60c9.zip
chromium_src-5f73abf8bd01f600f56d0f218a6460f0e47f60c9.tar.gz
chromium_src-5f73abf8bd01f600f56d0f218a6460f0e47f60c9.tar.bz2
Fix some compilation warnings found by gcc on mac.
TBR=mark Review URL: http://codereview.chromium.org/207044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26729 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/devtools/devtools_rpc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/devtools/devtools_rpc.h b/webkit/glue/devtools/devtools_rpc.h
index 072116e..5a135dd 100644
--- a/webkit/glue/devtools/devtools_rpc.h
+++ b/webkit/glue/devtools/devtools_rpc.h
@@ -78,7 +78,7 @@ struct RpcTypeTrait<bool> {
typedef bool ApiType;
static bool Parse(const std::string& t) {
int i;
- bool success = StringToInt(t, &i);
+ ALLOW_UNUSED bool success = StringToInt(t, &i);
ASSERT(success);
return i;
}
@@ -92,7 +92,7 @@ struct RpcTypeTrait<int> {
typedef int ApiType;
static int Parse(const std::string& t) {
int i;
- bool success = StringToInt(t, &i);
+ ALLOW_UNUSED bool success = StringToInt(t, &i);
ASSERT(success);
return i;
}