Fixed a few warnings
Removed a few warnings from the Skia code.
Review URL: https://codereview.chromium.org/12469003
git-svn-id: http://skia.googlecode.com/svn/trunk@7996 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/ports/SkFontHost_FreeType.cpp b/src/ports/SkFontHost_FreeType.cpp
index 47e77ac..b98cdcd 100644
--- a/src/ports/SkFontHost_FreeType.cpp
+++ b/src/ports/SkFontHost_FreeType.cpp
@@ -244,7 +244,7 @@
return count;
}
- static void sk_stream_close( FT_Stream stream) {}
+ static void sk_stream_close(FT_Stream) {}
}
SkFaceRec::SkFaceRec(SkStream* strm, uint32_t fontID)
@@ -1181,7 +1181,7 @@
return;
}
- generateGlyphPath(fFace, glyph, path);
+ generateGlyphPath(fFace, path);
// The path's origin from FreeType is always the horizontal layout origin.
// Offset the path so that it is relative to the vertical origin if needed.