kamalmostafa / minimodem

general-purpose software audio FSK modem
http://www.whence.com/minimodem
Other
857 stars 114 forks source link

scan-build (clang) detected that ampl_out may contain garbage because it is not initialised (in fsk_frame_analyze) #22

Closed ColinIanKing closed 8 years ago

ColinIanKing commented 8 years ago

/usr/share/clang/scan-build-3.8/bin/../libexec/ccc-analyzer -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -I/usr/include/alsa -Wall -g -O2 -MT fsk.o -MD -MP -MF .deps/fsk.Tpo -c -o fsk.o fsk.c fsk.c:493:13: warning: Assigned value is garbage or undefined best_a = ampl_out; ^ ~~~~ 1 warning generated.

kamalmostafa commented 8 years ago

Fixed by your commit 96a60f51b02fc4ff8eb486fd4e0e763ec8f76bdb.

Thanks Colin!