diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-10 15:33:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-10 15:33:32 +0000 |
commit | 3eaf4cd28aefe899e49bf2d77bd4b81be8792e24 (patch) | |
tree | cfb1bccd1e4a5784164dc268279cb488329839d3 /Build/source/texk/web2c | |
parent | de3201e883bc5ed05096dad0bcaafbb626eea2c8 (diff) |
eliminate useless void casts
git-svn-id: svn://tug.org/texlive/trunk@18190 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/input2int.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index 01194d640c4..023db680a01 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,8 @@ +2010-05-10 Karl Berry <karl@tug.org> + + * input2int.c (zinput2ints, zinput3ints): don't bother + to cast result of fprintf. + 2010-04-25 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * lib.h: diff --git a/Build/source/texk/web2c/lib/input2int.c b/Build/source/texk/web2c/lib/input2int.c index 792fa6791f8..2726601a487 100644 --- a/Build/source/texk/web2c/lib/input2int.c +++ b/Build/source/texk/web2c/lib/input2int.c @@ -23,7 +23,7 @@ zinput2ints (integer *a, integer *b) { while ((ch = getchar ()) != EOF && ch != '\n'); if (ch == EOF) return; - (void) fprintf (stderr, "Please enter two integers.\n"); + fprintf (stderr, "Please enter two integers.\n"); } while ((ch = getchar ()) != EOF && ch != '\n'); @@ -41,7 +41,7 @@ zinput3ints (integer *a, integer *b, integer *c) { while ((ch = getchar ()) != EOF && ch != '\n'); if (ch == EOF) return; - (void) fprintf (stderr, "Please enter three integers.\n"); + fprintf (stderr, "Please enter three integers.\n"); } while ((ch = getchar ()) != EOF && ch != '\n'); |