From 3ba2ba00e4b5fa0ce82a1a1e88e7ddf93e228df5 Mon Sep 17 00:00:00 2001 From: "cpu@google.com" Date: Wed, 8 Oct 2008 18:04:53 +0000 Subject: klockwork bug: variable delared in nested scope BUG=3084 Review URL: http://codereview.chromium.org/6227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3018 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/old_frames/xp_frame.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/chrome/browser/views/old_frames/xp_frame.cc b/chrome/browser/views/old_frames/xp_frame.cc index 8e3978f..cb0220c 100644 --- a/chrome/browser/views/old_frames/xp_frame.cc +++ b/chrome/browser/views/old_frames/xp_frame.cc @@ -167,12 +167,9 @@ class RegionsUnderInfo { tmp, RGN_AND) != NULLREGION) { // Remove that intersection to exclude any window below - int status = ::CombineRgn(rui->hwnd_rgn_, - rui->hwnd_rgn_, - tmp, - RGN_DIFF); + status = ::CombineRgn(rui->hwnd_rgn_, rui->hwnd_rgn_, tmp, RGN_DIFF); - // We have an interesction, add it with the region in hwnd + // We have an intersection, add it with the region in hwnd // coordinate system ::OffsetRgn(tmp, -r.left, -r.top); rui->windows_.push_back(hwnd); -- cgit v1.1