rm unused variables
This commit is contained in:
parent
71362bf7eb
commit
f665403e7c
|
|
@ -55,6 +55,7 @@ NON-STANDARD FEATURES
|
|||
#include <ctype.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
|
||||
|
|
@ -150,8 +151,6 @@ typedef char line_t[82]; /* A SPICE size line. <= 80 characters plus '\n\0' */
|
|||
/*=== FUNCTION PROTOTYPE DEFINITIONS ===*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -192,7 +191,7 @@ NON-STANDARD FEATURES
|
|||
NONE
|
||||
|
||||
==============================================================================*/
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
/*=== Static CNVgettok ROUTINE ================*/
|
||||
/*
|
||||
|
|
@ -1903,12 +1902,12 @@ void cm_d_state(ARGS)
|
|||
input from state.in */
|
||||
*s; /* main string variable */
|
||||
|
||||
char *open_error = "\n***ERROR***\nD_STATE: failed to open state file.\n";
|
||||
/* char *open_error = "\n***ERROR***\nD_STATE: failed to open state file.\n";*/
|
||||
|
||||
char *loading_error = "\n***ERROR***\nD_STATE: state file was not read successfully. \nThe most common cause of this problem is a\ntrailing blank line in the state.in file \n";
|
||||
char *loading_error = "\n***ERROR***\nD_STATE: state file was not read successfully. \nThe most common cause of this problem is a\ntrailing blank line in the state.in file \n";
|
||||
|
||||
char *index_error = "\n***ERROR***\nD_STATE: An error exists in the ordering of states values\n in the states->state[] array. This is usually caused \nby non-contiguous state definitions in the state.in file \n";
|
||||
char buf[100];
|
||||
/* char buf[100];*/
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -54,10 +54,8 @@ NON-STANDARD FEATURES
|
|||
|
||||
|
||||
|
||||
|
||||
extern SPICEdev **DEVices; /* info about all device types */
|
||||
|
||||
Mif_Boolean_t mif_UNSET=MIF_TRUE;
|
||||
|
||||
/* define macro for easy creation of matrix entries/pointers for outputs */
|
||||
#define TSTALLOC(ptr,first,second) \
|
||||
|
|
@ -457,8 +455,9 @@ MIFunsetup(GENmodel *inModel,CKTcircuit *ckt)
|
|||
MIFmodel *model;
|
||||
MIFinstance *here;
|
||||
Mif_Smp_Ptr_t *smp_data_out;
|
||||
Mif_Smp_Ptr_t *smp_data_cntl;
|
||||
Mif_Port_Type_t type,in_type,out_type;
|
||||
/* Mif_Smp_Ptr_t *smp_data_cntl;*/
|
||||
/* Mif_Port_Type_t type, in_type, out_type;*/
|
||||
Mif_Port_Type_t in_type, out_type;
|
||||
Mif_Cntl_Src_Type_t cntl_src_type;
|
||||
int num_conn,num_port,i,j,k,l,num_port_k;
|
||||
|
||||
|
|
@ -529,6 +528,6 @@ MIFunsetup(GENmodel *inModel,CKTcircuit *ckt)
|
|||
}
|
||||
}
|
||||
}
|
||||
//printf("MIFunsetup completed.\n");
|
||||
/* printf("MIFunsetup completed.\n");*/
|
||||
return OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue