From a4ff4f98498cffd2ef080086cfbadb365f9a4fe1 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 19 Dec 2022 16:16:56 +0100 Subject: [PATCH] dhcp: fix unused variable in nm_dhcp_client_start() Fixes: 28d7f9b7c478 ('dhcp: drop NMDhcpClientClass.get_duid() hook') (cherry picked from commit b9bbbfc41f8c636b0088323ee0f0c6df5be5496b) --- src/core/dhcp/nm-dhcp-client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/dhcp/nm-dhcp-client.c b/src/core/dhcp/nm-dhcp-client.c index a77127ce33..805b42d214 100644 --- a/src/core/dhcp/nm-dhcp-client.c +++ b/src/core/dhcp/nm-dhcp-client.c @@ -1331,8 +1331,7 @@ gboolean nm_dhcp_client_start(NMDhcpClient *self, GError **error) { NMDhcpClientPrivate *priv; - gs_unref_bytes GBytes *own_client_id = NULL; - const NMPlatformIP6Address *addr = NULL; + const NMPlatformIP6Address *addr = NULL; int IS_IPv4; g_return_val_if_fail(NM_IS_DHCP_CLIENT(self), FALSE);