Always initialise CServer::bRecorderInitialised.

Previously it was only set in the constructor if recording was enabled,
which resulted in uninitialised reads in CServerDlg.
This commit is contained in:
Adam Sampson 2020-06-21 13:55:08 +01:00
parent 773e274098
commit 0342576d8e

View file

@ -241,6 +241,7 @@ CServer::CServer ( const int iNewMaxNumChan,
Logging ( iMaxDaysHistory ),
iFrameCount ( 0 ),
JamRecorder ( strRecordingDirName ),
bRecorderInitialised ( false ),
bEnableRecording ( false ),
bWriteStatusHTMLFile ( false ),
HighPrecisionTimer ( bNUseDoubleSystemFrameSize ),