mirror of
https://github.com/switchbrew/switch-tools.git
synced 2025-07-03 10:32:14 +02:00
remove unnecessary quote stripping
This commit is contained in:
parent
1c5cea7a6d
commit
f0934cce74
@ -448,11 +448,6 @@ int add_extra_args(int len, char *buf, char *extra_args) {
|
||||
|
||||
int extra_len = strlen(extra_args);
|
||||
|
||||
if (extra_len >= 2 && extra_args[0] == '"' && extra_args[extra_len-1] == '"') {
|
||||
extra_len -= 2;
|
||||
extra_args += 1;
|
||||
}
|
||||
|
||||
char *dst = &buf[len];
|
||||
char *src = extra_args;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user