diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-12-10 08:24:20 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-12-10 08:24:20 +0000 |
commit | 21193f790612abde8be2f375ed4533334113e2bf (patch) | |
tree | 4c245c2e7c19e3944abd5337d0dc366fc958cfad /Build/source/texk/ttf2pk2 | |
parent | f73a2eb90adc5243a671607709a1b37911353944 (diff) |
Drop unused variables (gcc 4.6 -Wunused-but-set-cariable)
git-svn-id: svn://tug.org/texlive/trunk@28488 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ttf2pk2')
-rw-r--r-- | Build/source/texk/ttf2pk2/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/ttf2pk2/ftlib.c | 4 | ||||
-rw-r--r-- | Build/source/texk/ttf2pk2/subfont.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/texk/ttf2pk2/ChangeLog b/Build/source/texk/ttf2pk2/ChangeLog index 120cc642990..422c195259d 100644 --- a/Build/source/texk/ttf2pk2/ChangeLog +++ b/Build/source/texk/ttf2pk2/ChangeLog @@ -1,3 +1,8 @@ +2012-12-07 Peter Breitenlohner <peb@mppmu.mpg.de> + + * ftlib.c: Drop unused functions get_Short() and get_Long(). + * subfont.c: Drop unused variable (gcc-4.6 warning). + 2012-11-19 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am: Avoid use of deprecated INCLUDES. diff --git a/Build/source/texk/ttf2pk2/ftlib.c b/Build/source/texk/ttf2pk2/ftlib.c index 5a45d7b15ef..ffe3827b7ff 100644 --- a/Build/source/texk/ttf2pk2/ftlib.c +++ b/Build/source/texk/ttf2pk2/ftlib.c @@ -93,6 +93,7 @@ get_UShort(void) return (FT_UShort) cc; } +#if 0 /* unised */ static FT_Short get_Short(void) { @@ -101,6 +102,7 @@ get_Short(void) cc |= get_Byte(); return (FT_Short) cc; } +#endif static FT_ULong get_ULong(void) @@ -113,6 +115,7 @@ get_ULong(void) return (FT_ULong) cc; } +#if 0 /* unised */ static FT_Long get_Long(void) { @@ -123,6 +126,7 @@ get_Long(void) cc |= get_Byte(); return (FT_Long) cc; } +#endif #if 0 FT_UShort in_string[2]; diff --git a/Build/source/texk/ttf2pk2/subfont.c b/Build/source/texk/ttf2pk2/subfont.c index 89619f11e01..e99c6138b9e 100644 --- a/Build/source/texk/ttf2pk2/subfont.c +++ b/Build/source/texk/ttf2pk2/subfont.c @@ -354,13 +354,11 @@ really_close_sfd(realsubfont *real_name) void handle_sfd(char *s, int *sfd_begin, int *postfix_begin) { - size_t len; int i; Boolean have_atsign; have_atsign = False; - len = strlen(s); *sfd_begin = -1; *postfix_begin = -1; |