macOS: Remove unused variable in CHECK_SPAWN macro

Pick-to: 6.9 6.8
Change-Id: I821655019ece82767ea09fb838b8ba513ca5530b
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Tor Arne Vestbø 2025-03-26 12:44:38 +01:00
parent ed341fcdd1
commit 5489aac90b

View File

@ -378,7 +378,7 @@ std::optional<uint32_t> qt_mac_sipConfiguration()
}
#define CHECK_SPAWN(expr) \
if (int err = (expr)) { \
if ((expr) != 0) { \
posix_spawnattr_destroy(&attr); \
return; \
}