aboutsummaryrefslogtreecommitdiff
path: root/ch5/5-01_getint-fixed.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ch5/5-01_getint-fixed.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ch5/5-01_getint-fixed.c b/ch5/5-01_getint-fixed.c
index b013f20..641251f 100644
--- a/ch5/5-01_getint-fixed.c
+++ b/ch5/5-01_getint-fixed.c
@@ -29,7 +29,6 @@ int main() {
int getint(int *pn) {
int c, sign;
-
while (isspace(c = getch())) {
}
if (!isdigit(c) && c != EOF && c != '+' && c != '-') {