mirror of
https://github.com/ostreedev/ostree.git
synced 2025-02-03 17:47:40 +03:00
deploy: Suppress unused variable warning for fscreatecon cleanup
Fixes the clang build. Closes: #551 Approved by: jlebon
This commit is contained in:
parent
cbbfb5369f
commit
835d97d659
@ -2146,7 +2146,10 @@ ostree_sysroot_deploy_tree (OstreeSysroot *self,
|
||||
goto out;
|
||||
}
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||
{ ostree_cleanup_sepolicy_fscreatecon gpointer dummy = NULL;
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
/* Explicitly override the label for the origin file to ensure
|
||||
* it's system_conf_t.
|
||||
|
Loading…
x
Reference in New Issue
Block a user