Commit 26f05a16 authored by Federico Vaga's avatar Federico Vaga

lib: initialize variable to make GCC happy

Actually, GCC is wrong, but we like when it is happy
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent c107af64
......@@ -121,7 +121,7 @@ int adc_offset_auto_clear_sw_avg(struct adc_dev *dev,
struct adc_conf cfg;
struct adc_buffer *buf;
struct timeval tv = {0, 0};
uint32_t nchan, pre, post;
uint32_t nchan = 0, pre = 0, post = 0;
int err, err_stop, i;
unsigned int nsamples;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment