diff --git a/cv2/program.c b/cv2/program.c index e1cb04b..58b54e4 100644 --- a/cv2/program.c +++ b/cv2/program.c @@ -19,9 +19,6 @@ int read_pizza(struct pizza* item){ char *l1 = fgets(line1,LINESIZE,stdin); char *l2 = fgets(line2,LINESIZE,stdin); - //line1[strlen(line1)-1] = '\0'; - //line2[strlen(line2)-1] = '\0'; - float value = strtof(line2, &l2); if(value == 0.0F){ return 0;