Skip to content
Snippets Groups Projects
Commit 50bf08e1 authored by Tristan Matthews's avatar Tristan Matthews Committed by Emmanuel Milou
Browse files

manager: fixed uninitialized pointer bug

Refs #51340

Change-Id: Ie22a9c53068097dc97472b61010c092fbe4b4706
parent 1b14a8e7
No related branches found
No related tags found
No related merge requests found
......@@ -1981,7 +1981,7 @@ void ManagerImpl::setIsAlwaysRecording(bool isAlwaysRec)
bool ManagerImpl::toggleRecordingCall(const std::string& id)
{
std::shared_ptr<Call> call;
Recordable* rec;
Recordable* rec = nullptr;
ConferenceMap::const_iterator it(conferenceMap_.find(id));
if (it == conferenceMap_.end()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment