1
0
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:
Peter Evans 2018-03-13 00:33:32 -05:00
parent 090307f4fe
commit f33f9cd493

View File

@ -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;
}