summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-08-21 10:29:40 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-25 23:21:55 +0200
commitfeeaa1302c1eacccbcce6f470b76f574304f4b6e (patch)
treeb98fae471d7bcceebf88f4b56fc51eb3eb24aa02 /src/3rdparty
parent70758cbf15d7310c4bd57c66650848ad75fd08d7 (diff)
HarfBuzz: fix unused parameter / variable warnings
Change-Id: I362c80081ac4e4d0b9126385bab5a77826810926 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/harfbuzz/src/harfbuzz-gpos.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c b/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c
index ecf647e96a..21ffe84ab3 100644
--- a/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c
+++ b/src/3rdparty/harfbuzz/src/harfbuzz-gpos.c
@@ -1120,16 +1120,16 @@ static HB_Error Load_PairSet ( HB_PairSet* ps,
HB_Error error;
HB_UShort n, m, count;
- HB_UInt base_offset;
#ifdef HB_USE_FLEXIBLE_VALUE_RECORD
HB_UInt record_size = 0;
HB_Short *vr;
#else
+ HB_UInt base_offset;
HB_PairValueRecord* pvr;
-#endif
base_offset = FILE_Pos();
+#endif
if ( ACCESS_Frame( 2L ) )
return error;
@@ -1245,6 +1245,9 @@ static void Free_PairSet( HB_PairSet* ps,
FREE( pvr );
}
#else
+ (void)format1; // unused
+ (void)format2; // unused
+
if ( ps->ValueRecords )
{
FREE( ps->ValueRecords );