summaryrefslogtreecommitdiff
path: root/src/libsystemd-rtnl/rtnl-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-rtnl/rtnl-internal.h')
-rw-r--r--src/libsystemd-rtnl/rtnl-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-rtnl/rtnl-internal.h b/src/libsystemd-rtnl/rtnl-internal.h
index c8a97da398..a229ae77ad 100644
--- a/src/libsystemd-rtnl/rtnl-internal.h
+++ b/src/libsystemd-rtnl/rtnl-internal.h
@@ -80,4 +80,4 @@ int socket_read_message(sd_rtnl *nl, sd_rtnl_message **ret);
/* Make sure callbacks don't destroy the rtnl connection */
#define RTNL_DONT_DESTROY(rtnl) \
- _cleanup_sd_rtnl_unref_ sd_rtnl *_dont_destroy_##rtnl = sd_rtnl_ref(rtnl)
+ _cleanup_sd_rtnl_unref_ _unused_ sd_rtnl *_dont_destroy_##rtnl = sd_rtnl_ref(rtnl)