From 0f57ae889297f20b96a4770602c5d611054194bd Mon Sep 17 00:00:00 2001 From: "arthurhsu@google.com" Date: Fri, 29 Jun 2012 17:27:00 +0000 Subject: Land Nico's warning fix. git-svn-id: http://sfntly.googlecode.com/svn/trunk/cpp/src@133 672e30a5-4c29-85ac-ac6d-611c735e0a51 --- sfntly/table/core/cmap_table.cc | 1 - sfntly/table/core/cmap_table.h | 2 -- sfntly/table/core/name_table.h | 1 - sfntly/table/truetype/glyph_table.h | 1 - 4 files changed, 5 deletions(-) diff --git a/sfntly/table/core/cmap_table.cc b/sfntly/table/core/cmap_table.cc index 0b4f89a..1c83d2e 100644 --- a/sfntly/table/core/cmap_table.cc +++ b/sfntly/table/core/cmap_table.cc @@ -596,7 +596,6 @@ CMapTable::CMapFormat4::CMapFormat4(ReadableFontData* data, : CMap(data, CMapFormat::kFormat4, cmap_id), seg_count_(SegCount(data)), start_code_offset_(StartCodeOffset(seg_count_)), - end_code_offset_(Offset::kFormat4EndCount), id_delta_offset_(IdDeltaOffset(seg_count_)), glyph_id_array_offset_(GlyphIdArrayOffset(seg_count_)) { } diff --git a/sfntly/table/core/cmap_table.h b/sfntly/table/core/cmap_table.h index 29ce3e4..b264b07 100644 --- a/sfntly/table/core/cmap_table.h +++ b/sfntly/table/core/cmap_table.h @@ -488,9 +488,7 @@ public: int32_t seg_count_; int32_t start_code_offset_; - int32_t end_code_offset_; int32_t id_delta_offset_; - int32_t id_range_offset_offset_; int32_t glyph_id_array_offset_; }; diff --git a/sfntly/table/core/name_table.h b/sfntly/table/core/name_table.h index 01d3b29..4eaafbb 100644 --- a/sfntly/table/core/name_table.h +++ b/sfntly/table/core/name_table.h @@ -480,7 +480,6 @@ class NameTable : public SubTableContainerTable, public RefCounted { int32_t name_id, const ByteVector* name_bytes); NameEntryId name_entry_id_; - int32_t length_; ByteVector name_bytes_; friend class NameEntryBuilder; diff --git a/sfntly/table/truetype/glyph_table.h b/sfntly/table/truetype/glyph_table.h index 0836971..4ffddda 100644 --- a/sfntly/table/truetype/glyph_table.h +++ b/sfntly/table/truetype/glyph_table.h @@ -70,7 +70,6 @@ class GlyphTable : public SubTableContainerTable, virtual int32_t SubSerialize(WritableFontData* new_data); private: - int32_t format_; friend class GlyphTable::Builder; }; -- cgit v1.2.3