[Pkg-libvirt-commits] [libguestfs] 19/26: launch: libvirt: Fix unused variable when libselinux is not installed.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Mar 2 13:37:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag upstream/1.25.39
in repository libguestfs.
commit a4be4231cc0c27eb9daa6adbce24e11844fe23a0
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Fri Feb 28 13:36:05 2014 +0000
launch: libvirt: Fix unused variable when libselinux is not installed.
---
src/launch-libvirt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index 1bfc069..fd6e6d2 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -171,7 +171,9 @@ make_qcow2_overlay (guestfs_h *g, const char *backing_drive,
static char *
create_cow_overlay_libvirt (guestfs_h *g, void *datav, struct drive *drv)
{
+#if HAVE_LIBSELINUX
struct backend_libvirt_data *data = datav;
+#endif
CLEANUP_FREE char *backing_drive = NULL;
char *overlay;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list