cleanup, muffle compiler warning
This commit is contained in:
parent
4aa17534fb
commit
29442c91c8
|
|
@ -1,3 +1,7 @@
|
|||
2012-01-02 Robert Larice
|
||||
* src/frontend/inpcom.c :
|
||||
cleanup, muffle compiler warning
|
||||
|
||||
2012-01-02 Robert Larice
|
||||
* src/spicelib/analysis/cktdojob.c :
|
||||
xspice bug fix, invoke EVTsetup(ckt) only when `reset'
|
||||
|
|
|
|||
|
|
@ -3992,13 +3992,11 @@ static void inp_compat(struct line *deck)
|
|||
midline = cut_line;
|
||||
cut_line = strrchr(str_ptr, '(');
|
||||
/* replace '(' with ',' and ')' with ' ' */
|
||||
while(*str_ptr) {
|
||||
for ( ; *str_ptr; *str_ptr++)
|
||||
if (*str_ptr == '(')
|
||||
*str_ptr = ',';
|
||||
else if (*str_ptr == ')')
|
||||
*str_ptr = ' ';
|
||||
*str_ptr++;
|
||||
}
|
||||
/* scan for last two numbers */
|
||||
lastno = gettok_node(&cut_line);
|
||||
lnumber = INPevaluate(&lastno, &nerror, FALSE);
|
||||
|
|
@ -4178,13 +4176,11 @@ static void inp_compat(struct line *deck)
|
|||
midline = cut_line;
|
||||
cut_line = strrchr(str_ptr, '(');
|
||||
/* replace '(' with ',' and ')' with ' ' */
|
||||
while(*str_ptr) {
|
||||
for ( ; *str_ptr; str_ptr++)
|
||||
if (*str_ptr == '(')
|
||||
*str_ptr = ',';
|
||||
else if (*str_ptr == ')')
|
||||
*str_ptr = ' ';
|
||||
*str_ptr++;
|
||||
}
|
||||
/* scan for last two numbers */
|
||||
lastno = gettok_node(&cut_line);
|
||||
lnumber = INPevaluate(&lastno, &nerror, FALSE);
|
||||
|
|
|
|||
Loading…
Reference in New Issue