diff --git a/ChangeLog b/ChangeLog index c0b27a137..bd74db4c9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-01-07 Robert Larice + * src/frontend/inpcom.c : + cleanup, muffle compiler warning + 2012-01-07 Robert Larice * src/spicelib/analysis/cktdojob.c : bug fix, CKTcurJob, make sure this is either up do date or NULL diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 21fcecbec..c640947ae 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -3992,7 +3992,7 @@ static void inp_compat(struct line *deck) midline = cut_line; cut_line = strrchr(str_ptr, '('); /* replace '(' with ',' and ')' with ' ' */ - for ( ; *str_ptr; *str_ptr++) + for ( ; *str_ptr; str_ptr++) if (*str_ptr == '(') *str_ptr = ','; else if (*str_ptr == ')')