mirror of https://gitee.com/openkylin/libvirt.git
Enable the <assert.h>-checking test; fix violations.
* Makefile.cfg (local-checks-to-skip) [sc_prohibit_assert_without_use]: Enable. * qemud/mdns.c: Don't include <assert.h>; no uses of assert here. * qemud/qemud.c: Likewise. * qemud/remote.c: Likewise.
This commit is contained in:
parent
05ae9d8bc4
commit
2c72562374
|
@ -1,5 +1,12 @@
|
||||||
Tue Jan 29 18:39:25 CET 2008 Jim Meyering <meyering@redhat.com>
|
Tue Jan 29 18:39:25 CET 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
|
Enable the <assert.h>-checking test; fix violations.
|
||||||
|
* Makefile.cfg (local-checks-to-skip)
|
||||||
|
[sc_prohibit_assert_without_use]: Enable.
|
||||||
|
* qemud/mdns.c: Don't include <assert.h>; no uses of assert here.
|
||||||
|
* qemud/qemud.c: Likewise.
|
||||||
|
* qemud/remote.c: Likewise.
|
||||||
|
|
||||||
Enable the po-check test; fix violations.
|
Enable the po-check test; fix violations.
|
||||||
* Makefile.cfg (local-checks-to-skip) [po-check]: Enable.
|
* Makefile.cfg (local-checks-to-skip) [po-check]: Enable.
|
||||||
* po/POTFILES.in: Add three file names. Sort.
|
* po/POTFILES.in: Add three file names. Sort.
|
||||||
|
|
|
@ -42,7 +42,6 @@ local-checks-to-skip = \
|
||||||
sc_error_exit_success \
|
sc_error_exit_success \
|
||||||
sc_file_system \
|
sc_file_system \
|
||||||
sc_obsolete_symbols \
|
sc_obsolete_symbols \
|
||||||
sc_prohibit_assert_without_use \
|
|
||||||
sc_prohibit_atoi_atof \
|
sc_prohibit_atoi_atof \
|
||||||
sc_prohibit_jm_in_m4 \
|
sc_prohibit_jm_in_m4 \
|
||||||
sc_prohibit_quote_without_use \
|
sc_prohibit_quote_without_use \
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
|
||||||
|
|
||||||
#include <avahi-client/client.h>
|
#include <avahi-client/client.h>
|
||||||
#include <avahi-client/publish.h>
|
#include <avahi-client/publish.h>
|
||||||
|
|
|
@ -44,7 +44,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
|
|
@ -43,7 +43,6 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <assert.h>
|
|
||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
|
|
||||||
#ifdef HAVE_POLKIT
|
#ifdef HAVE_POLKIT
|
||||||
|
|
Loading…
Reference in New Issue