Remove compiler warnings
This commit is contained in:
parent
ab87bd57a4
commit
417c52ee5c
|
|
@ -369,7 +369,6 @@ cx_avg(void *data, short int type, int length, int *newlength, short int *newtyp
|
|||
void*
|
||||
cx_m3avg(void* data, short int type, int length, int* newlength, short int* newtype)
|
||||
{
|
||||
double sum_real = 0.0, sum_imag = 0.0;
|
||||
int i;
|
||||
|
||||
if (type == VF_REAL) {
|
||||
|
|
|
|||
|
|
@ -1028,7 +1028,7 @@ cx_mtimeavg(void* data, short int type, int length, int* newlength, short int* n
|
|||
return (NULL);
|
||||
}
|
||||
|
||||
if (!cp_getvar("mtimeavgwindow", CP_REAL, &tdelta, 0))
|
||||
if (!cp_getvar("mtimeavgwindow", CP_REAL, &tdelta, 0)) {
|
||||
if (ft_curckt == (struct circ*)NULL) {
|
||||
tdelta = 1e-6;
|
||||
fprintf(cp_out, "Note: mtimeavgwindow not given, window set to %g s\n", tdelta);
|
||||
|
|
@ -1038,6 +1038,7 @@ cx_mtimeavg(void* data, short int type, int length, int* newlength, short int* n
|
|||
tdelta = 10.0 * ckt->CKTstep;
|
||||
fprintf(cp_out, "Note: mtimeavgwindow not given, window set to %g s\n", tdelta);
|
||||
}
|
||||
}
|
||||
|
||||
sc = pl->pl_scale;
|
||||
dsc = sc->v_realdata;
|
||||
|
|
|
|||
Loading…
Reference in New Issue