Skip to content
Snippets Groups Projects
Commit edad6914 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#4623] Fix conditional jumps based on uninitialized variable

parent 5c4c974b
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ Account::Account (const AccountID& accountID, std::string type) :
, _link (NULL)
, _enabled (true)
, _type (type)
, _registrationState (Unregistered)
, _codecOrder ()
, _codecStr ("0/")
, _ringtonePath ("/usr/share/sflphone/ringtones/konga.ul")
......@@ -45,7 +46,6 @@ Account::Account (const AccountID& accountID, std::string type) :
, _displayName ("")
, _useragent ("SFLphone")
{
setRegistrationState (Unregistered);
}
Account::~Account()
......
......@@ -39,6 +39,9 @@ namespace Conf
{
YamlParser::YamlParser (const char *file) : filename (file)
, eventNumber (0)
, doc (NULL)
, eventIndex (0)
, accountSequence (NULL)
, preferenceSequence (NULL)
, addressbookSequence (NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment