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/dvipsk | |
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/dvipsk')
-rw-r--r-- | Build/source/texk/dvipsk/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipsk/finclude.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/Build/source/texk/dvipsk/ChangeLog b/Build/source/texk/dvipsk/ChangeLog index 7f981911ac2..bd36138a9a4 100644 --- a/Build/source/texk/dvipsk/ChangeLog +++ b/Build/source/texk/dvipsk/ChangeLog @@ -1,3 +1,7 @@ +2012-12-07 Peter Breitenlohner <peb@mppmu.mpg.de> + + * finclude.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/dvipsk/finclude.c b/Build/source/texk/dvipsk/finclude.c index 44943924ea3..bdf62bbc17c 100644 --- a/Build/source/texk/dvipsk/finclude.c +++ b/Build/source/texk/dvipsk/finclude.c @@ -226,7 +226,6 @@ scan_fontnames(char *str, const char *psfile) { char *p,*pe; struct resfont *re; - int i; /* Turn all newlines, CRs, and tabs into spaces. */ p = str; @@ -248,7 +247,7 @@ scan_fontnames(char *str, const char *psfile) pe = strchr(p,' '); if(pe != NULL) *pe = '\0'; - i = add_name(p,&ps_fonts_used); + add_name(p,&ps_fonts_used); if (1) { #ifdef DEBUG |