]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virnetsocket: Mark @spawnDaemonPath of virNetSocketNewConnectUNIX() unused
authorMichal Privoznik <mprivozn@redhat.com>
Sat, 5 Jun 2021 04:38:32 +0000 (06:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 7 Jun 2021 08:11:44 +0000 (10:11 +0200)
The virNetSocketNewConnectUNIX() function was changed in
48f66cfe3e. And its WIN32 version (which just reports an error)
was updated too, but this new argument @spawnDaemonPath was not
marked as unused.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/rpc/virnetsocket.c

index c3fae8b6266002e05887ad3827f1f2b86f0b339c..212089520de98727ab733e8b06d310799fd6cf7e 100644 (file)
@@ -774,7 +774,7 @@ int virNetSocketNewConnectUNIX(const char *path,
 }
 #else
 int virNetSocketNewConnectUNIX(const char *path G_GNUC_UNUSED,
-                               const char *spawnDaemonPath,
+                               const char *spawnDaemonPath G_GNUC_UNUSED,
                                virNetSocket **retsock G_GNUC_UNUSED)
 {
     virReportSystemError(ENOSYS, "%s",