From eb039ea1f0f297cf2329f679ac3c037cf249c012 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 19 Jun 2017 11:35:07 +0200 Subject: [PATCH] fix compile warning --- lib/src/phy/io/filesink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/phy/io/filesink.c b/lib/src/phy/io/filesink.c index 6f163f468..60a8c386e 100644 --- a/lib/src/phy/io/filesink.c +++ b/lib/src/phy/io/filesink.c @@ -52,7 +52,7 @@ void srslte_filesink_free(srslte_filesink_t *q) { } int srslte_filesink_write(srslte_filesink_t *q, void *buffer, int nsamples) { - int i; + int i = 0; float *fbuf = (float*) buffer; _Complex float *cbuf = (_Complex float*) buffer; _Complex short *sbuf = (_Complex short*) buffer;