summary refs log tree commit diff
path: root/src/error.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-10-07 22:24:42 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2014-10-07 22:24:42 +0800
commitf20dcdd0948d7ebb7d462a0288ea218468ad4f6c (patch)
treefc567086d638a8e16bff87dd8330d288bf06a530 /src/error.c
parent[BUILTIN] Return without arguments in a trap should use status outside traps (diff)
downloaddash-f20dcdd0948d7ebb7d462a0288ea218468ad4f6c.tar.gz
dash-f20dcdd0948d7ebb7d462a0288ea218468ad4f6c.zip
[VAR] Use setvareq to set OPTIND initially
There is no need to setvarint to set the initial value of OPTIND
of one.  This patch switchs to setvareq which also lets us avoid
an unnecessary memory allocation.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions