From: John Ferlan Date: Wed, 22 Mar 2017 12:38:40 +0000 (-0400) Subject: cpu: Remove NONNULL(1) for cpuBaseline X-Git-Tag: v3.2.0-rc1~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b785be4ca4617767f8858b443c0d179de7715f1;p=thirdparty%2Flibvirt.git cpu: Remove NONNULL(1) for cpuBaseline Since the code checks and handles a NULL 'cpus' anyway, so no need for the NONNULL. --- diff --git a/src/cpu/cpu.h b/src/cpu/cpu.h index 7d6d3e9211..d23409a4f0 100644 --- a/src/cpu/cpu.h +++ b/src/cpu/cpu.h @@ -195,8 +195,7 @@ cpuBaseline (virCPUDefPtr *cpus, unsigned int ncpus, const char **models, unsigned int nmodels, - unsigned int flags) - ATTRIBUTE_NONNULL(1); + unsigned int flags); int virCPUUpdate(virArch arch,