dglatting

Results 3 issues of dglatting

The static avg variable is not initialized in deemph_filter()

In the structure fm_state the entry mode_demod is initialized but never used. Is that entry reserved for future use or should it go away? am_demod() is called directly in full_demod().

Several variables are initialized twice in fm_init(). It looks like there was a copy paste near the end of the function.