Fix EOF return from wordsplit_finish

* lib/wordsplit.c (wordsplit_finish):
Fix typo caught by -Wzero-as-null-pointer-constant
This commit is contained in:
Paul Eggert 2026-01-23 17:04:58 -08:00
parent bd20771003
commit 29bb75ed65

View File

@ -848,7 +848,7 @@ wordsplit_finish (struct wordsplit *wsp)
} }
else else
{ {
wsp->ws_error = WRDSE_EOF; wsp->ws_errno = WRDSE_EOF;
return WRDSE_EOF; return WRDSE_EOF;
} }
goto again; goto again;