Fix unused variable errors (#5843)
Signed-off-by: Steve Pham <82231385+spham-amzn@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ namespace ImageProcessingAtom
|
||||
|
||||
namespace
|
||||
{
|
||||
static constexpr const char* const LogWindow = "Image Processing";
|
||||
[[maybe_unused]] static constexpr const char* const LogWindow = "Image Processing";
|
||||
}
|
||||
|
||||
#if defined(AZ_TOOLS_EXPAND_FOR_RESTRICTED_PLATFORMS)
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace QtForPython
|
||||
void* moduleHandle = dlopen(moduleToLoad, RTLD_NOW | RTLD_GLOBAL);
|
||||
if (!moduleHandle)
|
||||
{
|
||||
const char* loadError = dlerror();
|
||||
[[maybe_unused]] const char* loadError = dlerror();
|
||||
AZ_Error("QtForPython", false, "Unable to load python library %s for Pyside2: %s", moduleToLoad,
|
||||
loadError ? loadError : "Unknown Error");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user