Stop using a while loop for code that runs at most once,
authorschwarze <schwarze@openbsd.org>
Fri, 13 Aug 2021 10:21:25 +0000 (10:21 +0000)
committerschwarze <schwarze@openbsd.org>
Fri, 13 Aug 2021 10:21:25 +0000 (10:21 +0000)
commit2a75a88ed0607cc36f7659115e3f8c42b884e92f
tree271190123777f124b88410503c15f7891887e8f0
parent0c8ee377aa0197826e5e02456b49f09e026d0b85
Stop using a while loop for code that runs at most once,
and garbage collect an automatic variable that is no longer needed
and a comment that was probably contributed by Capt. Obvious.
No functional change.

OK millert@ martijn@
lib/libedit/read.c