diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-27 21:40:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-27 21:40:28 +0000 |
commit | 7a800286ec192d3205a477baedd9f63004be4897 (patch) | |
tree | efb6ace69af597fe12ed4daa955fbe09188aaa07 /Build/source/texk | |
parent | 8a7c60c46ef0b8e1eb91b1cfbf28fafa75f6c4f7 (diff) |
fix -Wall warnings
git-svn-id: svn://tug.org/texlive/trunk@2985 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/tex-make.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index 8a66b069c2d..82e040e3188 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,9 @@ +2006-12-26 Karl Berry <karl@tug.org> + + * tex-make.c: (set_maketex_mag): remove spurious extra argument + `r' to sprintf. + (maketex): remove unused variable status. + 2006-12-25 Karl Berry <karl@tug.org> * mktexlsr: support --verbose. diff --git a/Build/source/texk/kpathsea/tex-make.c b/Build/source/texk/kpathsea/tex-make.c index 0c6f980fefc..9a85f8c565f 100644 --- a/Build/source/texk/kpathsea/tex-make.c +++ b/Build/source/texk/kpathsea/tex-make.c @@ -72,7 +72,7 @@ set_maketex_mag P1H(void) sprintf(q, "%u+%u/(%u*%u)", dpi/bdpi, dpi%bdpi, f, bdpi/f); } } else { - sprintf(q, "%u+%u/(4000 + %u)", dpi/bdpi, dpi%bdpi, bdpi, r); + sprintf(q, "%u+%u/(4000 + %u)", dpi/bdpi, dpi%bdpi, bdpi); } } } else { @@ -409,7 +409,6 @@ maketex P2C(kpse_file_format_type, format, string*, args) /* Parent */ char buf[1024+1]; int num; - int status; /* Clean up child file descriptors that we won't use anyway. */ close(childin); |