]> xenbits.xensource.com Git - libvirt.git/commit
Fix build breaker with ATTRIBUTE_NONNULL defs
authorJohn Ferlan <jferlan@redhat.com>
Tue, 16 Apr 2013 11:17:00 +0000 (07:17 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 16 Apr 2013 11:17:00 +0000 (07:17 -0400)
commitd94a3cfcfb8b01b6af538a4832e4c74cbc95c728
tree2bc7d03543d14b4ddc86a4e5ba06c1173df1245a
parentc3ad5a3670b6564f4c63451914bb96268076dfa2
Fix build breaker with ATTRIBUTE_NONNULL defs

Using "./autogen.sh --system lv_cv_static_analysis=yes" for my daily
Coverity builds resulted in the following error when building:

In file included from util/vircgrouppriv.h:32:0,
                 from util/vircgroup.c:44:
util/vircgroup.h:59:5: error: nonnull argument with out-of-range operand number (argument 1, operand 5)
util/vircgroup.h:74:5: error: nonnull argument references non-pointer operand (argument 1, operand 4)
make[3]: *** [libvirt_util_la-vircgroup.lo] Error 1
make[3]: Leaving directory `/home/jferlan/libvirt.cov.curr/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jferlan/libvirt.cov.curr/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jferlan/libvirt.cov.curr'
make: *** [all] Error 2
src/util/vircgroup.h