summary refs log tree commit diff
path: root/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'stdio')
-rw-r--r--stdio/vfscanf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stdio/vfscanf.c b/stdio/vfscanf.c
index 681e89819b..10baa94ecc 100644
--- a/stdio/vfscanf.c
+++ b/stdio/vfscanf.c
@@ -231,8 +231,7 @@ DEFUN(__vfscanf, (s, format, arg),
 	      while (inchar() != EOF && --width > 0);
 	    }
 	  else
-	    while (inchar() != EOF && width > 0)
-	      --width;
+	    while (inchar() != EOF && --width > 0);
 
 	  if (do_assign)
 	    ++done;