summaryrefslogtreecommitdiff
path: root/cmd/cmd_fir.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/cmd_fir.c')
-rw-r--r--cmd/cmd_fir.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/cmd/cmd_fir.c b/cmd/cmd_fir.c
index 95e0b53..33bb949 100644
--- a/cmd/cmd_fir.c
+++ b/cmd/cmd_fir.c
@@ -415,21 +415,21 @@ void filter_calc(filter_t *filt, double *hc, int hc_sz)
void *cmd_fir(void *data)
{
char *ret = NULL;
- int i=0,j=0;
+ int i=0;
int count;
sds params;
sds out_result;
sds *tokens;
- double arg_fs;
- int arg_ftype;
- double arg_fc1;
- double arg_fc2;
- double arg_beta;
- int arg_wtype;
- int arg_n;
- double *lp_coef;
+ double arg_fs=0.0;
+ int arg_ftype=0;
+ double arg_fc1=0.0;
+ double arg_fc2=0.0;
+ double arg_beta=0.0;
+ int arg_wtype=0;
+ int arg_n=0;
+ double *lp_coef=NULL;
filter_t filt;
printf("FIR\n");