bc: small simplification in dc_lex_token()
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 Dec 2018 11:47:17 +0000 (12:47 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 Dec 2018 11:47:17 +0000 (12:47 +0100)
commite55a5726001ce23161c4bd0010b842578e7b722c
treeb700af0bc67e42a307d17bb0bd687082fef50816
parent2fa11b6d35bcb02064df6d518ee660e39a69615c
bc: small simplification in dc_lex_token()

Pulling array element into a temporary, taking address of this temporary
and copying it? That's much unnecessary work.

function                                             old     new   delta
dc_lex_token                                         701     697      -4

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