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;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||||
{ ostree_cleanup_sepolicy_fscreatecon gpointer dummy = NULL;
|
{ ostree_cleanup_sepolicy_fscreatecon gpointer dummy = NULL;
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
/* Explicitly override the label for the origin file to ensure
|
/* Explicitly override the label for the origin file to ensure
|
||||||
* it's system_conf_t.
|
* it's system_conf_t.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue