Neither virDomainRestoreFlags nor virDomainSaveImageDefineXML take a
virDomain argument.
Remove the unused domain variables.
Introduced by commits 1ce556b and 2597d41 respectively.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
src/connect.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/connect.c b/src/connect.c
index 8faaeaf..3a563bb 100644
--- a/src/connect.c
+++ b/src/connect.c
@@ -357,7 +357,6 @@ virtDBusConnectDomainRestoreFlags(GVariant *inArgs,
GError **error)
{
virtDBusConnect *connect = userData;
- g_autoptr(virDomain) domain = NULL;
const gchar *from;
const gchar *xml;
guint flags;
@@ -383,7 +382,6 @@ virtDBusConnectDomainSaveImageDefineXML(GVariant *inArgs,
GError **error)
{
virtDBusConnect *connect = userData;
- g_autoptr(virDomain) domain = NULL;
const gchar *file;
const gchar *xml;
guint flags;
--
2.16.1