diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-29 09:34:14 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-29 09:34:14 +0000 |
commit | c33cdfcd56cf8bc964bb0e82684fedc7f532d259 (patch) | |
tree | 4696c5ee6f959dfbe0b7da9bf58e4c23c27cd584 /table.c | |
parent | [w3m-dev 02579] Use environment variables CC, CFLAGS, LDFLAGS (diff) | |
download | w3m-c33cdfcd56cf8bc964bb0e82684fedc7f532d259.tar.gz w3m-c33cdfcd56cf8bc964bb0e82684fedc7f532d259.zip |
[w3m-dev 02584] code cleanup again
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'table.c')
-rw-r--r-- | table.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: table.c,v 1.8 2001/11/24 02:01:26 ukai Exp $ */ +/* $Id: table.c,v 1.9 2001/11/29 09:34:15 ukai Exp $ */ /* * HTML table */ @@ -470,7 +470,7 @@ visible_length(char *str) int prev_status = status; Str tagbuf = Strnew(); char *t, *r2; - int amp_len; + int amp_len = 0; t = str; while (*str) { @@ -938,7 +938,7 @@ set_integered_width(struct table *t, double *dwidth, short *iwidth) int i, j, k, n, bcol, ecol, step; char *index, *fixed; double *mod; - double sum = 0., x; + double sum = 0., x = 0.; struct table_cell *cell = &t->cell; int rulewidth = table_rule_width(t); @@ -1483,7 +1483,7 @@ check_table_height(struct table *t) short maxcell; short height[MAXCELL]; } cell; - int space; + int space = 0; cell.maxcell = -1; @@ -1680,7 +1680,7 @@ renderTable(struct table *t, int max_width, struct html_feed_environ *h_env) #endif /* MATRIX */ int width; int rulewidth; - Str vrulea, vruleb, vrulec; + Str vrulea = NULL, vruleb = NULL, vrulec = NULL; #ifdef ID_EXT Str idtag; #endif /* ID_EXT */ |