diff options
author | sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-07 20:52:59 +0000 |
---|---|---|
committer | sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-07 20:52:59 +0000 |
commit | 9c55f801a35b0d6c39f007fae432bd13094f3c52 (patch) | |
tree | 67523b0ff3fb50f0346c3b7beb0a429304e71d7f /src/ports | |
parent | 428fc4a37b66ac927d5b8c3a2938e578ea70cbb8 (diff) |
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
Diffstat (limited to 'src/ports')
-rw-r--r-- | src/ports/SkFontHost_fontconfig.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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() |