From 01db2479416df34609886cfcaea5e35e8e6c2fe7 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Wed, 4 Nov 2015 17:47:42 -0500 Subject: [PATCH] network: Remove extraneous ATTRIBUTE_NONNULL for virNetDevWaitDadFinish Commit id '0f7436ca' added virNetDevWaitDadFinish using ATTRIBUTE_NONNULL for both arguments, although one is a non-null argument. A Coverity build balks at that. --- src/util/virnetdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virnetdev.h b/src/util/virnetdev.h index 9108be6b61..772ae75682 100644 --- a/src/util/virnetdev.h +++ b/src/util/virnetdev.h @@ -106,7 +106,7 @@ int virNetDevClearIPAddress(const char *ifname, int virNetDevGetIPAddress(const char *ifname, virSocketAddrPtr addr) ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_RETURN_CHECK; int virNetDevWaitDadFinish(virSocketAddrPtr *addrs, size_t count) - ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2); + ATTRIBUTE_NONNULL(1); int virNetDevSetMAC(const char *ifname, -- GitLab