[libvirt] [PATCH] build: fix unused variable after last patch

Eric Blake eblake at redhat.com
Mon May 21 18:37:31 UTC 2012


The previous commit (2cb0899) left a dead variable behind.

* src/libxl/libxl_driver.c (libxlClose): Drop dead variable.
---

Pushing under the build-breaker rule.

 src/libxl/libxl_driver.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
index fc90d16..500d51b 100644
--- a/src/libxl/libxl_driver.c
+++ b/src/libxl/libxl_driver.c
@@ -1079,8 +1079,6 @@ libxlOpen(virConnectPtr conn,
 static int
 libxlClose(virConnectPtr conn ATTRIBUTE_UNUSED)
 {
-    libxlDriverPrivatePtr driver = conn->privateData;
-
     conn->privateData = NULL;
     return 0;
 }
-- 
1.7.7.6




More information about the libvir-list mailing list