From 69af1b780b4f34ba3eb1cb7e8671dcd73b79ae37 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 25 Apr 2006 16:44:19 +0000 Subject: [PATCH] Janitor - fix a couple of unitialized variables --- lib/common/htmltable.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/common/htmltable.c b/lib/common/htmltable.c index 61e02ff74..ed53e9f6d 100644 --- a/lib/common/htmltable.c +++ b/lib/common/htmltable.c @@ -150,7 +150,7 @@ emit_htextlines(GVJ_t* job, int nlines, htextline_t* lines, pointf p, double offset=0.0; char *fname_ , *fcolor_; textline_t tl; - pointf p_; + pointf p_ = {0.0, 0.0}; textitem_t* ti; center_x = p.x; @@ -794,6 +794,8 @@ size_html_txt(htmltxt_t* ftxt, htmlenv_t* env) case AGEDGE: substrFn = substrEFn; break; + default: + substrFn = NULL; } for (i = 0; i < ftxt->nlines; i++) { -- 2.50.1