aboutsummaryrefslogtreecommitdiff
path: root/ch5/5-02_getfloat.c
diff options
context:
space:
mode:
Diffstat (limited to 'ch5/5-02_getfloat.c')
-rw-r--r--ch5/5-02_getfloat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ch5/5-02_getfloat.c b/ch5/5-02_getfloat.c
index e6f3347..b125976 100644
--- a/ch5/5-02_getfloat.c
+++ b/ch5/5-02_getfloat.c
@@ -32,7 +32,6 @@ int main() {
int getfloat(double *pn) {
int c, sign, places;
-
while (isspace(c = getch())) {
}
if (!isdigit(c) && c != EOF && c != '+' && c != '-') {