diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-27 17:02:50 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-27 17:02:50 +0000 |
commit | c30664c9350b9885c543b0b3a2d855d2ca842e31 (patch) | |
tree | e3ae610a5a99f2a545f51da1609fcbf73218c350 /base/pe_image.h | |
parent | 33ba5fbf040015cd4dd9c330db3b7eec65510cfd (diff) | |
download | chromium_src-c30664c9350b9885c543b0b3a2d855d2ca842e31.zip chromium_src-c30664c9350b9885c543b0b3a2d855d2ca842e31.tar.gz chromium_src-c30664c9350b9885c543b0b3a2d855d2ca842e31.tar.bz2 |
Fixes a gcc-4.3 warning in tab_strip_gtk.cc.
Also factorizes some code in tab_strip.cc and tab_strip_gtk.cc.
One of the inlined call to GenerateStartAndEndWidths with end_tab_count =
start_tab_count - 1 caused line 164 to be rewritten as:
if (start_tab_count < start_tab_count - 1 &&
which raised the following warning with gcc-4.3:
tab_strip_gtk.cc:164: warning: assuming signed overflow does not occur when
assuming that (X - c) > X is always false
patch by vincent.zanotti@gmail.com <http://codereview.chromium.org/99031>
R=me
Review URL: http://codereview.chromium.org/100045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14613 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/pe_image.h')
0 files changed, 0 insertions, 0 deletions