Blame SOURCES/0005-remote-viewer-Extend-ifdef-HAVE_OVIRT-block.patch

1efd99
From 7a808362a1cad3cf82613038d891415a638b3b04 Mon Sep 17 00:00:00 2001
1efd99
From: "Eduardo Lima (Etrunko)" <etrunko@redhat.com>
1efd99
Date: Fri, 13 Jan 2017 11:59:27 -0200
1efd99
Subject: [PATCH 05/26] remote-viewer: Extend #ifdef HAVE_OVIRT block
1efd99
1efd99
The #endif is closing a #ifdef HAVE_OVIRT block, while another one is
1efd99
opened right next, so there is no need to have those lines. Also, due to
1efd99
the large amount of source code in between, add a small comment on the
1efd99
last #endif to identify what it refers to.
1efd99
1efd99
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
1efd99
---
1efd99
 src/remote-viewer.c | 5 +----
1efd99
 1 file changed, 1 insertion(+), 4 deletions(-)
1efd99
1efd99
diff --git a/src/remote-viewer.c b/src/remote-viewer.c
1efd99
index 6d29bf2..13c6e7c 100644
1efd99
--- a/src/remote-viewer.c
1efd99
+++ b/src/remote-viewer.c
1efd99
@@ -1005,9 +1005,6 @@ error:
1efd99
     return success;
1efd99
 }
1efd99
 
1efd99
-#endif
1efd99
-
1efd99
-#ifdef HAVE_OVIRT
1efd99
 static OvirtVm *
1efd99
 choose_vm(GtkWindow *main_window,
1efd99
           char **vm_name,
1efd99
@@ -1047,7 +1044,7 @@ choose_vm(GtkWindow *main_window,
1efd99
 
1efd99
     return vm;
1efd99
 }
1efd99
-#endif
1efd99
+#endif /* HAVE_OVIRT */
1efd99
 
1efd99
 static void
1efd99
 remote_viewer_recent_add(gchar *uri, const gchar *mime_type)
1efd99
-- 
1efd99
2.12.0
1efd99