mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Source: Fix -Wdangling-reference warnings exposed by gcc 13
This commit is contained in:
@@ -277,7 +277,7 @@ bool cmCPackInnoSetupGenerator::ProcessSetupSection()
|
||||
return false;
|
||||
}
|
||||
|
||||
const std::string& architecture = GetOption("CPACK_INNOSETUP_ARCHITECTURE");
|
||||
cmValue const architecture = GetOption("CPACK_INNOSETUP_ARCHITECTURE");
|
||||
if (architecture != "x86" && architecture != "x64" &&
|
||||
architecture != "arm64" && architecture != "ia64") {
|
||||
cmCPackLogger(cmCPackLog::LOG_ERROR,
|
||||
|
||||
Reference in New Issue
Block a user