[PATCH] virsystemdtest: remove unused 'demo_socket_path'

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

 



Commit b56a833243ca7324 removed bunch of old code after which
'demo_socket_path' in 'testActivationFDNames' is no longer used

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---

Pushed as a build fix (for clang).

 tests/virsystemdtest.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/virsystemdtest.c b/tests/virsystemdtest.c
index 9b513697e0..fcd76514e1 100644
--- a/tests/virsystemdtest.c
+++ b/tests/virsystemdtest.c
@@ -526,15 +526,12 @@ testActivationFDNames(const void *opaque G_GNUC_UNUSED)
     size_t nfds = 0;
     g_autoptr(virSystemdActivation) act = NULL;
     g_auto(virBuffer) names = VIR_BUFFER_INITIALIZER;
-    g_autofree char *demo_socket_path = NULL;

     virBufferAddLit(&names, "demo-unix.socket");

     if (testActivationCreateFDs(&sockUNIX, &sockIP, &nsockIP) < 0)
         return -1;

-    demo_socket_path = virNetSocketGetPath(sockUNIX);
-
     for (i = 0; i < nsockIP; i++)
         virBufferAddLit(&names, ":demo-ip.socket");

-- 
2.35.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux