bc: simplify nested read() check
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 11 Dec 2018 23:29:24 +0000 (00:29 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 11 Dec 2018 23:29:24 +0000 (00:29 +0100)
commit69171dc466ab94daf14e7560efe92c5050b0c1b1
tree4b84059ed715a3fd02ab51afbfb2d6c1270b9628
parent12b9eaf787146d8706a343d87f19902e6892be86
bc: simplify nested read() check

function                                             old     new   delta
bc_vm_run                                            622     624      +2
dc_main                                              186     187      +1
bc_main                                               72      73      +1
bc_program_read                                      312     277     -35
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/1 up/down: 4/-35)             Total: -31 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c