From 7baa070c9f9061714840bee2f66c4ad097c49113 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 3 Feb 2011 09:28:36 +0000 Subject: Initialise font callback pointers svn path=/trunk/libcss/; revision=11607 --- test/css21.c | 2 ++ test/parse-auto.c | 2 ++ test/parse2-auto.c | 2 ++ test/select-auto.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/test/css21.c b/test/css21.c index 929362e..ea655f7 100644 --- a/test/css21.c +++ b/test/css21.c @@ -60,6 +60,8 @@ int main(int argc, char **argv) params.import_pw = NULL; params.color = NULL; params.color_pw = NULL; + params.font = NULL; + params.font_pw = NULL; for (count = 0; count < ITERATIONS; count++) { diff --git a/test/parse-auto.c b/test/parse-auto.c index 3c3e011..e050b22 100644 --- a/test/parse-auto.c +++ b/test/parse-auto.c @@ -383,6 +383,8 @@ void run_test(const uint8_t *data, size_t len, exp_entry *exp, size_t explen) params.import_pw = NULL; params.color = NULL; params.color_pw = NULL; + params.font = NULL; + params.font_pw = NULL; assert(css_stylesheet_create(¶ms, myrealloc, NULL, &sheet) == CSS_OK); diff --git a/test/parse2-auto.c b/test/parse2-auto.c index cbf6730..8999026 100644 --- a/test/parse2-auto.c +++ b/test/parse2-auto.c @@ -208,6 +208,8 @@ void run_test(const uint8_t *data, size_t len, const char *exp, size_t explen) params.import_pw = NULL; params.color = NULL; params.color_pw = NULL; + params.font = NULL; + params.font_pw = NULL; assert(css_stylesheet_create(¶ms, myrealloc, NULL, &sheet) == CSS_OK); diff --git a/test/select-auto.c b/test/select-auto.c index e79688e..4763018 100644 --- a/test/select-auto.c +++ b/test/select-auto.c @@ -536,6 +536,8 @@ void css__parse_sheet(line_ctx *ctx, const char *data, size_t len) params.import_pw = NULL; params.color = NULL; params.color_pw = NULL; + params.font = NULL; + params.font_pw = NULL; /** \todo How are we going to handle @import? */ assert(css_stylesheet_create(¶ms, myrealloc, NULL, -- cgit v1.2.3