Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: src/core/SkPathRef.h

Issue 17572010: Build fix for [-Werror=maybe-uninitialized]. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkAAClip.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPathRef.h
diff --git a/src/core/SkPathRef.h b/src/core/SkPathRef.h
index b6700392912def34c61d5c1cc00e7f541f49e060..75592da162070ccd82e3d2da98e19fcaf621fbf5 100644
--- a/src/core/SkPathRef.h
+++ b/src/core/SkPathRef.h
@@ -462,7 +462,7 @@ private:
*/
SkPoint* growForVerb(SkPath::Verb verb) {
this->validate();
- int pCnt;
+ int pCnt = 0;
switch (verb) {
case SkPath::kMove_Verb:
pCnt = 1;
« no previous file with comments | « src/core/SkAAClip.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698