[libxml2] Fix unused variable warnings in testrecurse



commit 154824ee5ec47a82b3a27f76d4305ba0658d88ef
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Sat Oct 21 14:07:38 2017 +0200

    Fix unused variable warnings in testrecurse

 testrecurse.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/testrecurse.c b/testrecurse.c
index e5d5d1b..f95ae1c 100644
--- a/testrecurse.c
+++ b/testrecurse.c
@@ -69,8 +69,8 @@ typedef struct
 } glob_t;
 
 #define GLOB_DOOFFS 0
-static int glob(const char *pattern, int flags,
-                int errfunc(const char *epath, int eerrno),
+static int glob(const char *pattern, ATTRIBUTE_UNUSED int flags,
+                ATTRIBUTE_UNUSED int errfunc(const char *epath, int eerrno),
                 glob_t *pglob) {
     glob_t *ret;
     WIN32_FIND_DATA FindFileData;


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