More PR comments/fixes

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-05 12:46:50 -07:00
parent d955189a31
commit 0545ce4f59
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -127,7 +127,7 @@ namespace Config
case IConfigVar::eType_STRING:
{
AZStd::string currentValue = 0;
AZStd::string currentValue;
var->Get(&currentValue);
node->setAttr(szName, currentValue.c_str());
break;
@@ -186,7 +186,7 @@ namespace Config
case IConfigVar::eType_STRING:
{
AZStd::string currentValue = 0;
AZStd::string currentValue;
var->GetDefault(&currentValue);
QString readValue(currentValue.c_str());
if (node->getAttr(szName, readValue))