diff options
author | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-03 21:00:02 +0000 |
---|---|---|
committer | vandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-03 21:00:02 +0000 |
commit | 61076179916109d927541bd93cf888a7f858f645 (patch) | |
tree | a69b6fbff25bf30950be14a877900d0bc78ec679 /skia/ext/platform_device_win.cc | |
parent | ee0c66a87aeb76b5abc53278fabeb1403c860f46 (diff) | |
download | chromium_src-61076179916109d927541bd93cf888a7f858f645.zip chromium_src-61076179916109d927541bd93cf888a7f858f645.tar.gz chromium_src-61076179916109d927541bd93cf888a7f858f645.tar.bz2 |
Fix Coverity defects in skia/ext:
- Three uninit ctors, two dead codes, and a misuse of var args.
CID=100083, 101537, 17746, 9369, 9279, 9278
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8965060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116189 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/platform_device_win.cc')
-rw-r--r-- | skia/ext/platform_device_win.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/skia/ext/platform_device_win.cc b/skia/ext/platform_device_win.cc index 100a811..f44e66e 100644 --- a/skia/ext/platform_device_win.cc +++ b/skia/ext/platform_device_win.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -185,7 +185,6 @@ bool PlatformDevice::SkPathToCubicPaths(CubicPaths* paths, current_path = &paths->back(); continue; } - case SkPath::kDone_Verb: // iter.next returns 0 points default: { current_path = NULL; // Will return false. |