fix warning for uninitialized count
git-svn-id: http://skia.googlecode.com/svn/trunk@14095 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkFont.cpp b/src/core/SkFont.cpp
index 1516211..69b6718 100644
--- a/src/core/SkFont.cpp
+++ b/src/core/SkFont.cpp
@@ -66,7 +66,8 @@
SkASSERT(text);
- int count;
+ int count = 0; // fix uninitialized warning (even though the switch is complete!)
+
switch (encoding) {
case kUTF8_SkTextEncoding:
count = SkUTF8_CountUnichars((const char*)text, byteLength);