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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user