summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webplugin_impl.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 20:12:56 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-21 20:12:56 +0000
commitbe21555a228e74b1ad6f3314ae882cf21bc3c24e (patch)
tree3215603183ddb3b3acd62482b2b86bd3ef1daf27 /webkit/glue/webplugin_impl.cc
parent4e3e9d70e14f80d41d7a1667430e6acbd561bd50 (diff)
downloadchromium_src-be21555a228e74b1ad6f3314ae882cf21bc3c24e.zip
chromium_src-be21555a228e74b1ad6f3314ae882cf21bc3c24e.tar.gz
chromium_src-be21555a228e74b1ad6f3314ae882cf21bc3c24e.tar.bz2
Enable compiler -Werror and -Wall on our webkit code for mac and linux.
This fixes some initialization order, removes unused varibles, and fixes a couple signed/unsigned comparison errors. Please check the signed/unsigned cases. We can't enable it for windows yet because MSVC complains about headers pulled in from WebCore. We'll have to wait until the API is upstreamed. BUG=21140 Review URL: http://codereview.chromium.org/214024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webplugin_impl.cc')
-rw-r--r--webkit/glue/webplugin_impl.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/webkit/glue/webplugin_impl.cc b/webkit/glue/webplugin_impl.cc
index dc1627c..ec8965a 100644
--- a/webkit/glue/webplugin_impl.cc
+++ b/webkit/glue/webplugin_impl.cc
@@ -644,7 +644,6 @@ void WebPluginImpl::didReceiveResponse(WebURLLoader* loader,
ResponseInfo response_info;
GetResponseInfo(response, &response_info);
- bool cancel = false;
bool request_is_seekable = true;
if (client->IsMultiByteResponseExpected()) {
if (response.httpStatusCode() == kHttpPartialResponseStatusCode) {