From 70f8503b0fcf4253c905b01aec4a72363147ab6f Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 1 Aug 2008 02:04:47 +0000 Subject: Allow silencing of parser test driver. svn path=/trunk/libcss/; revision=4852 --- test/parse.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') diff --git a/test/parse.c b/test/parse.c index 730ba44..ac89a4e 100644 --- a/test/parse.c +++ b/test/parse.c @@ -21,6 +21,11 @@ static void *myrealloc(void *ptr, size_t len, void *pw) static bool event_handler(css_parser_event type, const parserutils_vector *tokens, void *pw) { +#if 0 + UNUSED(type); + UNUSED(tokens); + UNUSED(pw); +#else int32_t ctx = 0; const css_token *token; @@ -45,6 +50,7 @@ static bool event_handler(css_parser_event type, } while (token != NULL); printf("\n"); +#endif return true; } -- cgit v1.2.3