Commit Graph

9 Commits

Author SHA1 Message Date
Kacper Michajłow 1e5ae8ea0f Define _USE_MATH_DEFINES and clean M_PI redefinitions 2020-11-04 23:05:41 +01:00
f4exb ef15157a50 Fixed incomplete copyright headers (1) 2019-04-11 06:39:30 +02:00
f4exb dc2f25a00b Windows: MSVC2017: fixed more attribute unused cases (1) 2018-11-13 00:45:03 +01:00
Jason Gerecke 141997475c BFM demod: RDS demod: Initialize RDSDemod array elements
The m_parms.tot_errs array is not initialized prior to its first use
in the RDSDemod::biphase function. ASAN does not pick up on this
directly, but instead reports it as follows (note that ASAN fills
memory with 0xBE and -1094795586 is 0xBEBEBEBE):

    ./plugins/channelrx/demodbfm/rdsdemod.cpp:159:95: runtime error: signed
    integer overflow: -1094795586 + -1094795586 cannot be represented in type
    'int'

The m_parms.subcarr_bb array does not appear to be read prior to
initialization, but we initialize it to zero anyway for the sake
of good hygiene.
2018-04-21 18:54:19 -07:00
f4exb 2b846f5d28 PVS-Studio static analysis corrections (2) issue #137 2018-02-22 03:04:42 +01:00
f4exb da8857e0e1 Windows build fixes 2017-09-23 17:19:58 +02:00
f4exb 3a3d8e3dcb activated compiler warnings 2017-05-25 20:13:34 +02:00
f4exb cf267b1254 Code warnings in Eclipse cleanup 2017-05-05 10:40:45 +02:00
f4exb 1f7df6548a RxTx semantic move: renamed channel plugins directory to channelrx 2016-10-02 13:18:07 +02:00