aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-01-03 12:14:58 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2021-01-03 12:14:58 +0100
commit85158b600d161bea3fc9d62df8e4ecf4d642fbf0 (patch)
tree00cbd6e67e1ca0faa922b90ca0e8ae9a8fad86cf
parent3f8ec00b0c54790283cfec675716ef4b8e00bd8a (diff)
downloadbusybox-w32-85158b600d161bea3fc9d62df8e4ecf4d642fbf0.tar.gz
busybox-w32-85158b600d161bea3fc9d62df8e4ecf4d642fbf0.tar.bz2
busybox-w32-85158b600d161bea3fc9d62df8e4ecf4d642fbf0.zip
ash: code shrink
function old new delta ash_main 1218 1202 -16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/ash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index f9d59e50e..e24b74c03 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -14312,9 +14312,9 @@ procargs(char **argv)
14312 } 14312 }
14313 if (mflag == 2) 14313 if (mflag == 2)
14314 mflag = iflag; 14314 mflag = iflag;
14315 /* Unset options which weren't explicitly set or unset */
14315 for (i = 0; i < NOPTS; i++) 14316 for (i = 0; i < NOPTS; i++)
14316 if (optlist[i] == 2) 14317 optlist[i] &= 1; /* same effect as "if (optlist[i] == 2) optlist[i] = 0;" */
14317 optlist[i] = 0;
14318#if DEBUG == 2 14318#if DEBUG == 2
14319 debug = 1; 14319 debug = 1;
14320#endif 14320#endif