[Libguestfs] [PATCH libguestfs] placate 'make syntax-check'

Richard W.M. Jones rjones at redhat.com
Mon Nov 9 16:39:17 UTC 2009


On Mon, Nov 09, 2009 at 03:08:50PM +0100, Jim Meyering wrote:
> Similar:
> 
>     hivex/hivex.c
>     maint.mk: the above files include <assert.h> but don't use it
>     make: *** [sc_prohibit_assert_without_use] Error 1
> 
> >From a71e5791293ac1e794fecffee8a2d616777f77e0 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <meyering at redhat.com>
> Date: Mon, 9 Nov 2009 15:08:09 +0100
> Subject: [PATCH libguestfs] placate 'make syntax-check'
> 
> * hivex/hivex.c: Remove unused "#include <assert.h>".
> ---
>  hivex/hivex.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/hivex/hivex.c b/hivex/hivex.c
> index 40b5697..a2200a2 100644
> --- a/hivex/hivex.c
> +++ b/hivex/hivex.c
> @@ -30,7 +30,6 @@
>  #include <iconv.h>
>  #include <sys/mman.h>
>  #include <sys/stat.h>
> -#include <assert.h>
>  #ifdef HAVE_ENDIAN_H
>  #include <endian.h>
>  #endif
> --
> 1.6.5.2.351.g0943

ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list