mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-17 07:00:22 +01:00
ndisc: mark a keep-alive variable unused
Fixed build with clang:
src/ndisc/nm-lndp-ndisc.c:494:27: error: unused variable 'ndisc_keep_alive' [-Werror,-Wunused-variable]
gs_unref_object NMNDisc *ndisc_keep_alive = g_object_ref (ndisc);
^
Fixes: 9aa628cedb
(cherry picked from commit 7c7e4cf134)
(cherry picked from commit 506f781488)
(cherry picked from commit 77234c352d)
This commit is contained in:
parent
d017022dfc
commit
ab42b9659d
1 changed files with 1 additions and 1 deletions
|
|
@ -491,7 +491,7 @@ receive_rs (struct ndp *ndp, struct ndp_msg *msg, gpointer user_data)
|
|||
static gboolean
|
||||
event_ready (GIOChannel *source, GIOCondition condition, NMNDisc *ndisc)
|
||||
{
|
||||
gs_unref_object NMNDisc *ndisc_keep_alive = g_object_ref (ndisc);
|
||||
_nm_unused gs_unref_object NMNDisc *ndisc_keep_alive = g_object_ref (ndisc);
|
||||
nm_auto_pop_netns NMPNetns *netns = NULL;
|
||||
NMLndpNDiscPrivate *priv = NM_LNDP_NDISC_GET_PRIVATE ((NMLndpNDisc *) ndisc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue