Skip to content
Snippets Groups Projects
Commit 672a17cd authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

BUG: Fix error conditions

parent 18015486
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,7 @@ bool Registry::ReadValue(const char *subkey,
const char **value)
{
*value = 0;
bool res = true;
bool res = false;
bool open = false;
if ( ! value )
{
......@@ -241,7 +241,7 @@ bool Registry::ReadValue(const char *subkey,
//----------------------------------------------------------------------------
bool Registry::DeleteKey(const char *subkey, const char *key)
{
bool res = true;
bool res = false;
bool open = false;
if ( !m_Opened )
{
......@@ -272,7 +272,7 @@ bool Registry::DeleteKey(const char *subkey, const char *key)
//----------------------------------------------------------------------------
bool Registry::DeleteValue(const char *subkey, const char *key)
{
bool res = true;
bool res = false;
bool open = false;
if ( !m_Opened )
{
......
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