Index: src/animator/SkDisplayType.cpp |
diff --git a/src/animator/SkDisplayType.cpp b/src/animator/SkDisplayType.cpp |
index dc52f0caccdf9e3f2644b5086cc6384468beff89..4461a4b77b01ea082293bdd332c5a10185932585 100644 |
--- a/src/animator/SkDisplayType.cpp |
+++ b/src/animator/SkDisplayType.cpp |
@@ -372,7 +372,7 @@ const SkMemberInfo* SkDisplayType::GetMembers(SkAnimateMaker* maker, |
const SkMemberInfo* SkDisplayType::GetMember(SkAnimateMaker* maker, |
SkDisplayTypes type, const char** matchPtr ) { |
- int infoCount; |
+ int infoCount = 0; // Initialize to remove a warning. |
const SkMemberInfo* info = GetMembers(maker, type, &infoCount); |
info = SkMemberInfo::Find(info, infoCount, matchPtr); |
// SkASSERT(info); |