Clang 13: Fix build errors ...
... due to local variables only being written to (but never read). Signed-off-by: Daniel Edwards <dev@danieledwards.de>
This commit is contained in:
+1
-1
@@ -145,7 +145,7 @@ namespace ScriptCanvasEditor
|
||||
ScriptEvents::ScriptEventsAsset* data = asset.GetAs<ScriptEvents::ScriptEventsAsset>();
|
||||
if (data)
|
||||
{
|
||||
const ScriptEvents::ScriptEvent* previousDefinition = nullptr;
|
||||
[[maybe_unused]] const ScriptEvents::ScriptEvent* previousDefinition = nullptr;
|
||||
ScriptEvents::ScriptEventsAsset* previousData = m_asset.GetAs<ScriptEvents::ScriptEventsAsset>();
|
||||
if (previousData)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user