Browse Source

cleanup, void return

rlar 14 years ago
parent
commit
5a69b9efc4
  1. 9
      src/frontend/inp.c
  2. 2
      src/frontend/plotting/plotit.c

9
src/frontend/inp.c

@ -102,7 +102,6 @@ com_listing(wordlist *wl)
}
} else
fprintf(cp_err, "Error: no circuit loaded.\n");
return;
}
/* returns inp_casefix() or NULL */
@ -275,7 +274,6 @@ top2:
} else
fprintf(cp_err, "inp_list: Internal Error: bad type %d\n",
type);
return;
}
/*
@ -689,8 +687,6 @@ inp_spsource(FILE *fp, bool comfile, char *filename)
cp_curin = lastin;
cp_curout = lastout;
cp_curerr = lasterr;
return;
}
@ -951,7 +947,6 @@ inp_dodeck(
/* add title of deck to data base */
cp_addkword(CT_CKTNAMES, tt);
return;
}
@ -1039,8 +1034,6 @@ com_edit(wordlist *wl)
fprintf(cp_out, "running circuit\n");
com_run(NULL);
}
return;
}
static bool
@ -1114,7 +1107,6 @@ com_source(wordlist *wl)
cp_interactive = inter;
if (tempfile)
unlink(tempfile);
return;
}
void
@ -1123,5 +1115,4 @@ inp_source(char *file)
static struct wordlist wl = { NULL, NULL, NULL } ;
wl.wl_word = file;
com_source(&wl);
return;
}

2
src/frontend/plotting/plotit.c

@ -123,7 +123,6 @@ xtend(struct dvec *v, int length)
}
v->v_length = length;
return;
}
@ -170,7 +169,6 @@ compress(struct dvec *d, double *xcomp, double *xind)
d->v_length = i;
}
}
return;
}

Loading…
Cancel
Save