From 9c55f801a35b0d6c39f007fae432bd13094f3c52 Mon Sep 17 00:00:00 2001 From: "sugoi@google.com" Date: Thu, 7 Mar 2013 20:52:59 +0000 Subject: Fixing some warnings on Linux There were only a few warnings left, so I fixed them and enabled the unused variable warning by removing the "-Wno-unused" flag. Only the -Wno-unused-parameter remains for now (could be removed later). Review URL: https://codereview.chromium.org/12480002 git-svn-id: http://skia.googlecode.com/svn/trunk@8030 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/ports/SkFontHost_fontconfig.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ports') diff --git a/src/ports/SkFontHost_fontconfig.cpp b/src/ports/SkFontHost_fontconfig.cpp index 438b47d46a..e1db69a4bd 100644 --- a/src/ports/SkFontHost_fontconfig.cpp +++ b/src/ports/SkFontHost_fontconfig.cpp @@ -249,7 +249,6 @@ SkTypeface* SkFontHost::Deserialize(SkStream* stream) { static SkStream* open_stream(const FontConfigTypeface* face, int* ttcIndex) { SkStream* stream = face->getLocalStream(); - int index; if (stream) { stream->ref(); // should have been provided by CreateFromStream() -- cgit v1.2.3