Merge pull request #12 from jnz86/develop

Removed duplicate variable reset
This commit is contained in:
Tilen Majerle 2022-12-29 22:53:24 +01:00 committed by GitHub
commit e7e696420d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,6 @@ prv_parse_input(lwshell_t* lwobj) {
str = lwobj->buff;
/* Process complete string */
lwobj->argc = 0;
while (*str != '\0') {
while (*str == ' ' && ++str) {} /* Remove leading spaces */
if (*str == '\0') {