Fix some minor things

Removes unnecessary things added during development.

Signed-off-by: amzn-phist <52085794+amzn-phist@users.noreply.github.com>
This commit is contained in:
amzn-phist
2021-07-23 12:17:34 -05:00
parent ce2fc6c1e6
commit dff425764a
2 changed files with 2 additions and 2 deletions
@@ -42,7 +42,7 @@ namespace AudioControls
// into the new destination tree.
[[nodiscard]] static AZStd::unique_ptr<AZ::rapidxml::xml_node<char>> DeepCopyNode(AZ::rapidxml::xml_node<char>* srcNode)
{
AZStd::unique_ptr<AZ::rapidxml::xml_node<char>> destNode{};
AZStd::unique_ptr<AZ::rapidxml::xml_node<char>> destNode;
if (srcNode)
{
XmlAllocator& xmlAlloc(AudioControls::s_xmlAllocator);
@@ -553,7 +553,7 @@ namespace AudioControls
}
//-------------------------------------------------------------------------------------------//
CATLControl* CAudioControlsLoader::CreateInternalSwitchState(CATLControl* parentControl, [[maybe_unused]] const AZStd::string& switchName, const AZStd::string& stateName)
CATLControl* CAudioControlsLoader::CreateInternalSwitchState(CATLControl* parentControl, const AZStd::string& switchName, const AZStd::string& stateName)
{
CATLControl* childControl = m_atlControlsModel->CreateControl(stateName, eACET_SWITCH_STATE, parentControl);