summaryrefslogtreecommitdiff
path: root/libtest/callbacks-example-log.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-09 17:10:06 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-09 17:10:06 +0000
commit5d564d08125526d153928adcf872ed30827de6ed (patch)
tree6f17272de93fe03a3b19ab0210814fea5ea51b71 /libtest/callbacks-example-log.c
parent90404c36f6ce33386242c00b41ec154dce65b30a (diff)
Fixed a bunch of warnings.
Diffstat (limited to 'libtest/callbacks-example-log.c')
-rwxr-xr-xlibtest/callbacks-example-log.c2
1 files changed, 2 insertions, 0 deletions
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,