From af737550f66b658fb2e8ab2cff51ca63799e7a89 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 27 Aug 2015 00:05:57 +0200 Subject: [PATCH] Comment out unused code --- src/makefile.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/makefile.c b/src/makefile.c index 419a9ab..3fb4861 100644 --- a/src/makefile.c +++ b/src/makefile.c @@ -56,8 +56,10 @@ static int _makefile_print(FILE * fp, char const * format, ...); static int _makefile_remove(FILE * fp, int recursive, ...); static int _makefile_subdirs(FILE * fp, char const * target); static int _makefile_target(FILE * fp, char const * target, ...); +#ifdef WITH_UNUSED static int _makefile_targetv(FILE * fp, char const * target, char const ** depends); +#endif /* functions */ @@ -2742,6 +2744,7 @@ static int _makefile_target(FILE * fp, char const * target, ...) } +#ifdef WITH_UNUSED /* makefile_targetv */ static int _makefile_targetv(FILE * fp, char const * target, char const ** depends) @@ -2757,3 +2760,4 @@ static int _makefile_targetv(FILE * fp, char const * target, _makefile_print(fp, "%c", '\n'); return 0; } +#endif