misc: Really fix the unused-variable warning

When everything else has failed, cast it to the void

Change-Id: I8f9769e60c359a6a17151e9199749f5c7042566f
This commit is contained in:
Tom Hubrecht
2025-12-14 20:43:20 +01:00
parent 5157fbaf2c
commit b2b95775bd
+4 -1
View File
@@ -280,7 +280,10 @@ retry:
throw Error("cannot perform a sandboxed build because user namespaces are not available.\nIn this Lix's configuration, user namespaces are required due to either being non-root, or build-users-group being disabled without also enabling auto-allocate-uids");
}
}
#endif
#else
// NOTE: This is needed to silence the `unused-variable` warning on non-linux machines
(void) sandboxFallbackAllowed;
#endif
actLock.reset();