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:
Jim Meyering 2008-01-29 18:20:25 +00:00
parent 05ae9d8bc4
commit 2c72562374
5 changed files with 7 additions and 4 deletions

View File

@ -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.

View File

@ -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 \

View File

@ -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>

View File

@ -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>

View File

@ -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