summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 22:51:41 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 22:51:41 +0000
commit0ac8fce3591b1a72231c83827811aacd43121089 (patch)
treeed0cead7153d82a10d7f89ad255f43ac908fefdc /base
parent6aa9349ef5c1110d9c096945840e6a105e8a8295 (diff)
downloadchromium_src-0ac8fce3591b1a72231c83827811aacd43121089.zip
chromium_src-0ac8fce3591b1a72231c83827811aacd43121089.tar.gz
chromium_src-0ac8fce3591b1a72231c83827811aacd43121089.tar.bz2
Restore -Wall to Linux build and set up for -Werror.
* Add -Wall to build/common.gypi (and -Werror, commented out for now). * Have build/external_code.gypi remove -Wall (and -Werror). * Remove chromium_code definition from build/all.gyp. * Remove chromium_code definitions from third_party/ *.gyp files. * Remove scons-specific -Werror removal in webkit.gyp. * Remove unused variables from: base/clipboard_linux.cc chrome/browser/gtk/download_shelf_gtk.cc chrome/browser/gtk/bookmark_bar_gtk.cc Review URL: http://codereview.chromium.org/66001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13478 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/clipboard_linux.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/base/clipboard_linux.cc b/base/clipboard_linux.cc
index 4d52038..7d568e1 100644
--- a/base/clipboard_linux.cc
+++ b/base/clipboard_linux.cc
@@ -178,7 +178,6 @@ void Clipboard::WriteWebSmartPaste() {
void Clipboard::WriteBitmap(const char* pixel_data, const char* size_data) {
const gfx::Size* size = reinterpret_cast<const gfx::Size*>(size_data);
- int length = size->width() * size->height() * 4;
guchar* data = gfx::BGRAToRGBA(reinterpret_cast<const uint8_t*>(pixel_data),
size->width(), size->height(), 0);