cleanup, use '\0' and NULL
This commit is contained in:
parent
0865747d88
commit
5c97e31049
|
|
@ -455,7 +455,7 @@ inp_spsource(FILE *fp, bool comfile, char *filename, bool intfile)
|
|||
/* all commands from within .control section */
|
||||
} else {
|
||||
s = dd->li_line;
|
||||
dd->li_line = 0; /* SJB - prevent line_free() freeing the string (now pointed at by wl->wl_word) */
|
||||
dd->li_line = NULL; /* SJB - prevent line_free() freeing the string (now pointed at by wl->wl_word) */
|
||||
}
|
||||
controls = wl_cons(s, controls);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -253,7 +253,7 @@ void INPpas2(CKTcircuit *ckt, card * data, INPtables * tab, TSKtask *task)
|
|||
return;
|
||||
break;
|
||||
|
||||
case 0:
|
||||
case '\0':
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in New Issue