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:
@@ -134,7 +134,7 @@ namespace AzQtComponents
|
||||
QColor color;
|
||||
QString colorName(m_namedVariables.value(name));
|
||||
|
||||
bool colorSet = false;
|
||||
[[maybe_unused]] bool colorSet = false;
|
||||
if (QColor::isValidColor(colorName))
|
||||
{
|
||||
color.setNamedColor(colorName);
|
||||
|
||||
Reference in New Issue
Block a user