mirror of
https://github.com/pevans/erc-c.git
synced 2024-06-28 16:29:30 +00:00
Remove unnecessary check if tok == NULL
This also corrects a formatting error (no space between the rparen of the if and the lbrace of the code block).
This commit is contained in:
parent
090307f4fe
commit
f33f9cd493
|
@ -75,10 +75,6 @@ vm_debug_next_arg(char **str)
|
|||
char *tok;
|
||||
|
||||
while ((tok = strsep(str, " "))) {
|
||||
if (tok == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (*tok == '\0') {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user