diff options
author | FreeArtMan <dos21h@gmail.com> | 2017-05-20 15:28:07 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2017-05-20 15:28:07 +0100 |
commit | f5e6f56a82e56cfd72a0e2f1ce9b583398636545 (patch) | |
tree | a8705da438f341dc7a329db964747bf3ad379936 /cmd/cmd_fir.c | |
parent | eca4a1364bc1313fe0c40c07b7776d3fd8a8e6fc (diff) | |
download | agni-f5e6f56a82e56cfd72a0e2f1ce9b583398636545.tar.gz agni-f5e6f56a82e56cfd72a0e2f1ce9b583398636545.zip |
Fixed warnings all over the code
Diffstat (limited to 'cmd/cmd_fir.c')
-rw-r--r-- | cmd/cmd_fir.c | 18 |
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"); |