aboutsummaryrefslogtreecommitdiff
path: root/ch4/4-03_calc-modulus.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ch4/4-03_calc-modulus.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ch4/4-03_calc-modulus.c b/ch4/4-03_calc-modulus.c
index 05d5c1b..e4cfb9d 100644
--- a/ch4/4-03_calc-modulus.c
+++ b/ch4/4-03_calc-modulus.c
@@ -46,7 +46,6 @@ int main() {
int type;
double op2;
char s[MAXOP];
-
while ((type = getop(s)) != EOF) {
switch (type) {
case NUMBER:
@@ -109,7 +108,6 @@ double pop(void) {
int getop(char s[]) {
int i, c;
-
while ((s[0] = c = getch()) == ' ' || c == '\t') {
}
s[1] = '\0';