[Pkg-libvirt-commits] [libguestfs] 31/59: v2v: Remove warning when compiling --without-libvirt.
Hilko Bengen
bengen at moszumanska.debian.org
Sun May 3 21:26:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch experimental
in repository libguestfs.
commit 2dd01c5d2de2a2abdd2c8ac82a8758aef301e3bb
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Sat Apr 25 22:27:50 2015 +0100
v2v: Remove warning when compiling --without-libvirt.
---
v2v/domainxml-c.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/v2v/domainxml-c.c b/v2v/domainxml-c.c
index fe9f6d2..abf39f1 100644
--- a/v2v/domainxml-c.c
+++ b/v2v/domainxml-c.c
@@ -362,18 +362,24 @@ v2v_vol_dumpxml (value connv, value poolnamev, value volnamev)
#else /* !HAVE_LIBVIRT */
+value v2v_dumpxml (value connv, value domv) __attribute__((noreturn));
+
value
v2v_dumpxml (value connv, value domv)
{
caml_invalid_argument ("virt-v2v was compiled without libvirt support");
}
+value v2v_pool_dumpxml (value connv, value poolv) __attribute__((noreturn));
+
value
v2v_pool_dumpxml (value connv, value poolv)
{
caml_invalid_argument ("virt-v2v was compiled without libvirt support");
}
+value v2v_vol_dumpxml (value connv, value poolnamev, value volnamev) __attribute__((noreturn));
+
value
v2v_vol_dumpxml (value connv, value poolnamev, value volnamev)
{
--
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