From 5d564d08125526d153928adcf872ed30827de6ed Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Thu, 9 May 2013 17:10:06 +0000 Subject: Fixed a bunch of warnings. --- libtest/callbacks-example-log.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libtest/callbacks-example-log.c') diff --git a/libtest/callbacks-example-log.c b/libtest/callbacks-example-log.c index 068fda4..21881b7 100755 --- a/libtest/callbacks-example-log.c +++ b/libtest/callbacks-example-log.c @@ -33,6 +33,8 @@ static int process_file(t_hts_callbackarg *carg, httrackp *opt, void *ourDummyArg = (void*) CALLBACKARG_USERDEF(carg); /*optional user-defined arg*/ char *fmt; + (void) ourDummyArg; + /* call parent functions if multiple callbacks are chained. you can skip this part, if you don't want previous callbacks to be called. */ if (CALLBACKARG_PREV_FUN(carg, check_html) != NULL) { if (!CALLBACKARG_PREV_FUN(carg, check_html)(CALLBACKARG_PREV_CARG(carg), opt, -- cgit v1.2.3