mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-14 15:28:38 +00:00
hush: small speed optimization. +10 bytes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
2f7894b1bb
commit
7188540257
@ -899,7 +899,7 @@ static int is_well_formed_var_name(const char *s, char terminator)
|
||||
/* Replace each \x with x in place, return ptr past NUL. */
|
||||
static char *unbackslash(char *src)
|
||||
{
|
||||
char *dst = src;
|
||||
char *dst = src = strchrnul(src, '\\');
|
||||
while (1) {
|
||||
if (*src == '\\')
|
||||
src++;
|
||||
|
Loading…
Reference in New Issue
Block a user