few cleanings to prevent compiler warnings
This commit is contained in:
parent
5c32a3fb9c
commit
a4f6a777c0
|
|
@ -136,7 +136,6 @@ static void inp_reorder_params(
|
|||
static int inp_split_multi_param_lines(struct card *deck, int line_number);
|
||||
static void inp_sort_params(struct card *param_cards,
|
||||
struct card *card_bf_start, struct card *s_c, struct card *e_c);
|
||||
char *inp_remove_ws(char *s);
|
||||
static void inp_compat(struct card *deck);
|
||||
static void inp_bsource_compat(struct card *deck);
|
||||
static bool inp_temper_compat(struct card *card);
|
||||
|
|
@ -167,7 +166,6 @@ static void inp_check_syntax(struct card *deck);
|
|||
static char *inp_spawn_brace(char *s);
|
||||
|
||||
static char *inp_pathresolve_at(const char *name, const char *dir);
|
||||
char *search_plain_identifier(char *str, const char *identifier);
|
||||
|
||||
struct nscope *inp_add_levels(struct card *deck);
|
||||
static struct card_assoc *find_subckt(struct nscope *scope, const char *name);
|
||||
|
|
@ -185,8 +183,6 @@ static char* eval_m(char* line, char* tline);
|
|||
static char* eval_tc(char* line, char* tline);
|
||||
static char* eval_mvalue(char* line, char* tline);
|
||||
|
||||
static void rem_double_braces(struct card* card);
|
||||
|
||||
extern void inp_probe(struct card* card);
|
||||
#ifndef EXT_ASC
|
||||
static void utf8_syntax_check(struct card *deck);
|
||||
|
|
|
|||
|
|
@ -1165,7 +1165,6 @@ translate(struct card *deck, char *formal, int flen, char *actual, char *scname,
|
|||
}
|
||||
|
||||
for (c = deck; c; c = c->nextcard) {
|
||||
bool got_vnam = FALSE;
|
||||
char *s = c->line;
|
||||
char dev_type = tolower_c(s[0]);
|
||||
|
||||
|
|
@ -1249,6 +1248,8 @@ translate(struct card *deck, char *formal, int flen, char *actual, char *scname,
|
|||
/* gtri - add - wbk - 10/23/90 - process A devices specially */
|
||||
/* since they have a more involved and variable length node syntax */
|
||||
|
||||
bool got_vnam = FALSE;
|
||||
|
||||
case 'a':
|
||||
|
||||
/* translate the instance name according to normal rules */
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ Author: 1985 Thomas L. Quarles
|
|||
void
|
||||
NIdestroy(CKTcircuit *ckt)
|
||||
{
|
||||
int i;
|
||||
if (ckt->CKTmatrix)
|
||||
SMPdestroy(ckt->CKTmatrix);
|
||||
ckt->CKTmatrix = NULL;
|
||||
|
|
@ -36,7 +35,7 @@ NIdestroy(CKTcircuit *ckt)
|
|||
#endif
|
||||
#ifdef PREDICTOR
|
||||
if(ckt->CKTpred) FREE(ckt->CKTpred);
|
||||
for( i=0;i<8;i++) {
|
||||
for(int i=0;i<8;i++) {
|
||||
if(ckt->CKTsols[i]) FREE(ckt->CKTsols[i]);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ Modified: 2001 AlansFixes
|
|||
|
||||
/* Limit the number of 'singular matrix' warnings */
|
||||
static int msgcount = 0;
|
||||
void NIresetwarnmsg(void);
|
||||
|
||||
/* NIiter() - return value is non-zero for convergence failure */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue