deploy: Suppress unused variable warning for fscreatecon cleanup

Fixes the clang build.

Closes: #551
Approved by: jlebon
This commit is contained in:
Colin Walters 2016-10-27 13:43:39 -04:00 committed by Atomic Bot
parent cbbfb5369f
commit 835d97d659

View File

@ -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.