aboutsummaryrefslogtreecommitdiffstats
path: root/table.c
diff options
context:
space:
mode:
authorDavid Crosby <dave@dafyddcrosby.com>2015-07-22 04:00:42 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-08-11 12:59:27 +0000
commit6fe9e524afa7bc4e13d31708a628d16b6d263c6b (patch)
treed61969bf7b2e6eae86db9104a889c9939b19a615 /table.c
parentRemove overflow on readlink (diff)
downloadw3m-6fe9e524afa7bc4e13d31708a628d16b6d263c6b.tar.gz
w3m-6fe9e524afa7bc4e13d31708a628d16b6d263c6b.zip
Initialize new_tabwidth at declaration
Diffstat (limited to 'table.c')
-rw-r--r--table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/table.c b/table.c
index 1725d7b..b77f0f8 100644
--- a/table.c
+++ b/table.c
@@ -1690,7 +1690,7 @@ renderTable(struct table *t, int max_width, struct html_feed_environ *h_env)
{
int i, j, w, r, h;
Str renderbuf;
- short new_tabwidth[MAXCOL];
+ short new_tabwidth[MAXCOL] = { 0 };
#ifdef MATRIX
int itr;
VEC *newwidth;