Core/Scripting: Fix another warning when building statically
This commit is contained in:
1 parent
e23d063f5a
commit
293d51c8b0
1 file changed
+1
@@ -1044,6 +1044,7 @@ std::shared_ptr<ModuleReference>
|
||||
return ScriptReloadMgr::AcquireModuleReferenceOfContext(
|
||||
sScriptRegistryCompositum->GetScriptContextOfScriptName(scriptname));
|
||||
#else
|
||||
(void)scriptname;
|
||||
// Something went wrong when this function is used in
|
||||
// a static linked context.
|
||||
WPAbort();
|
||||
|
||||
Reference in new issue
Block a user