summaryrefslogtreecommitdiff
path: root/source/html/html-layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/html/html-layout.c')
-rw-r--r--source/html/html-layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/html/html-layout.c b/source/html/html-layout.c
index fe9fbf22..e5e4f597 100644
--- a/source/html/html-layout.c
+++ b/source/html/html-layout.c
@@ -2311,7 +2311,7 @@ load_fb2_images(fz_context *ctx, fz_xml *root)
const char *id = fz_xml_att(binary, "id");
char *b64 = NULL;
fz_buffer *buf = NULL;
- fz_image *img;
+ fz_image *img = NULL;
fz_var(b64);
fz_var(buf);
@@ -2673,7 +2673,7 @@ fz_html *
fz_parse_html(fz_context *ctx, fz_html_font_set *set, fz_archive *zip, const char *base_uri, fz_buffer *buf, const char *user_css)
{
fz_xml *xml;
- fz_html *html;
+ fz_html *html = NULL;
fz_css_match match;
struct genstate g;