libbb: shrink lineedit_read_key()

function                                             old     new   delta
lineedit_read_key                                    237     231      -6

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2022-01-18 00:31:27 +01:00
parent 8ad2acf352
commit 1e825acf8d
7 changed files with 25 additions and 16 deletions

View file

@ -441,7 +441,7 @@ int patch_main(int argc UNUSED_PARAM, char **argv)
TT.filein = TT.fileout = -1;
// Loop through the lines in the patch
for(;;) {
for (;;) {
char *patchline;
patchline = get_line(TT.filepatch);