From 7c30d04e67718b06e96d9e7087e877a51cda4cf7 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 11 Jul 2023 01:24:14 -0500 Subject: [PATCH] Remove extra increment. --- toys/posix/patch.c | 1 - 1 file changed, 1 deletion(-) diff --git a/toys/posix/patch.c b/toys/posix/patch.c index 4282d883..64a8abff 100644 --- a/toys/posix/patch.c +++ b/toys/posix/patch.c @@ -160,7 +160,6 @@ static int apply_one_hunk(void) // avoids the "all context was blank or } lines" issue. Removed lines // count as context since they're matched. if (c==' ' || c=="-+"[FLAG(R)]) { - s = plist->data+1; while (isspace(*++s)); if (*s && s[1] && !isspace(s[1])) fuzz++; } -- 2.39.2