[libgovirt] cdrom: remove unused 'ret' variable
- From: Eduardo de Barros Lima <eblima src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgovirt] cdrom: remove unused 'ret' variable
- Date: Fri, 14 Sep 2018 08:16:40 +0000 (UTC)
commit ef68bce787a1ceb54975db6660c2e7e802d827ad
Author: Eduardo Lima (Etrunko) <etrunko redhat com>
Date: Mon Sep 10 14:33:25 2018 +0200
cdrom: remove unused 'ret' variable
Avoid error while building with -Werror enabled
../govirt/ovirt-cdrom.c: In function ‘ovirt_cdrom_init_from_xml’:
../govirt/ovirt-cdrom.c:103:14: error: unused variable ‘ret’ [-Werror=unused-variable]
gboolean ret = FALSE;
^~~
Signed-off-by: Eduardo Lima (Etrunko) <etrunko redhat com>
govirt/ovirt-cdrom.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/govirt/ovirt-cdrom.c b/govirt/ovirt-cdrom.c
index 5bab7d3..f625a0c 100644
--- a/govirt/ovirt-cdrom.c
+++ b/govirt/ovirt-cdrom.c
@@ -100,7 +100,6 @@ static gboolean ovirt_cdrom_init_from_xml(OvirtResource *resource,
RestXmlNode *node,
GError **error)
{
- gboolean ret = FALSE;
char *name;
OvirtResourceClass *parent_class;
OvirtXmlElement cdrom_elements[] = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]