Skip to content

Commit

Permalink
remove unnecessary assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
petermichaux committed Aug 1, 2011
1 parent 5caf6f6 commit cacd7b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions read.c
Expand Up @@ -77,8 +77,7 @@ static scm_object scm_read_number(FILE *in, int c) {
* stream we will not know if an error has occurred.
*/
if (c != EOF) {
c = ungetc(c, in);
if (c == EOF) {
if (ungetc(c, in) == EOF) {
scm_fatal("scm_read_number: ungetc error");
}
}
Expand Down

0 comments on commit cacd7b2

Please sign in to comment.