[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]