From f5e6f56a82e56cfd72a0e2f1ce9b583398636545 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 20 May 2017 15:28:07 +0100 Subject: Fixed warnings all over the code --- cmd/cmd_fir.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'cmd/cmd_fir.c') 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"); -- cgit v1.2.3