From 7a800286ec192d3205a477baedd9f63004be4897 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 27 Dec 2006 21:40:28 +0000 Subject: fix -Wall warnings git-svn-id: svn://tug.org/texlive/trunk@2985 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/ChangeLog | 6 ++++++ Build/source/texk/kpathsea/tex-make.c | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'Build') 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 + + * tex-make.c: (set_maketex_mag): remove spurious extra argument + `r' to sprintf. + (maketex): remove unused variable status. + 2006-12-25 Karl Berry * 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); -- cgit v1.2.3