mirror of
https://github.com/MaJerle/lwshell.git
synced 2025-02-06 13:08:22 +08:00
Merge pull request #12 from jnz86/develop
Removed duplicate variable reset
This commit is contained in:
commit
e7e696420d
@ -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') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user