deploy: Suppress unused variable warning for fscreatecon cleanup

Fixes the clang build.

Closes: #551
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2016-10-27 17:50:56 +00:00
1 parent cbbfb5369f
commit 835d97d659
1 file changed
+3
+3
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.