cleanup, use '\0' and NULL

This commit is contained in:
rlar 2014-08-20 21:29:45 +02:00
parent 0865747d88
commit 5c97e31049
2 changed files with 2 additions and 2 deletions

View File

@ -455,7 +455,7 @@ inp_spsource(FILE *fp, bool comfile, char *filename, bool intfile)
/* all commands from within .control section */ /* all commands from within .control section */
} else { } else {
s = dd->li_line; 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); controls = wl_cons(s, controls);
} }

View File

@ -253,7 +253,7 @@ void INPpas2(CKTcircuit *ckt, card * data, INPtables * tab, TSKtask *task)
return; return;
break; break;
case 0: case '\0':
break; break;
default: default: