mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-09-03 02:53:04 +02:00
cleanup `skip_ws()' usage
This commit is contained in:
+1
-2
@@ -663,8 +663,7 @@ get_comma_separated_values( char *values[], char *str ) {
|
||||
ptr++; keep = *ptr; *ptr = '\0';
|
||||
values[count++] = strdup(str);
|
||||
*ptr = keep;
|
||||
str = comma_ptr + 1;
|
||||
str = skip_ws(str);
|
||||
str = skip_ws(comma_ptr + 1);
|
||||
}
|
||||
values[count++] = strdup(str);
|
||||
return count;
|
||||
|
||||
Reference in New Issue
Block a user