[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Don't mark parentIndex with ATTRIBUTE_UNUSED



parentIndex is used in virNetworkDefUpdateIPDHCPRange
---
Pushed as trivial.

 src/conf/network_conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/conf/network_conf.c b/src/conf/network_conf.c
index b903df9..e3998f3 100644
--- a/src/conf/network_conf.c
+++ b/src/conf/network_conf.c
@@ -3416,15 +3416,15 @@ cleanup:
     virNetworkDHCPHostDefClear(&host);
     return ret;
 }
 
 static int
 virNetworkDefUpdateIPDHCPRange(virNetworkDefPtr def,
                                unsigned int command,
-                               int parentIndex ATTRIBUTE_UNUSED,
+                               int parentIndex,
                                xmlXPathContextPtr ctxt,
                                /* virNetworkUpdateFlags */
                                unsigned int fflags ATTRIBUTE_UNUSED)
 {
     size_t i;
     int ret = -1;
     virNetworkIpDefPtr ipdef = virNetworkIpDefByIndex(def, parentIndex);
-- 
1.8.1.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]