index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2018-03-14 15:08:36 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-03-14 15:08:36 +1000 |
commit | 3e619ccffe585ddf19b1faa053ff46654d2b8a48 (patch) | |
tree | bf5b59a0d0289de6ac731aafd93cdcc9abe6b9a6 | |
parent | 1b288bae1f1dfae1e8c6d7c4f592117dff6eab57 (diff) |
-rw-r--r-- | src/pacman/package.c | 2 |
diff --git a/src/pacman/package.c b/src/pacman/package.c index 99d1495f..be5456aa 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -92,7 +92,7 @@ static void make_aligned_titles(void) size_t maxlen = 0; int maxcol = 0; static const wchar_t title_suffix[] = L" :"; - wchar_t wbuf[ARRAYSIZE(titles)][TITLE_MAXLEN + ARRAYSIZE(title_suffix)]; + wchar_t wbuf[ARRAYSIZE(titles)][TITLE_MAXLEN + ARRAYSIZE(title_suffix)] = {{ 0 }}; size_t wlen[ARRAYSIZE(wbuf)]; int wcol[ARRAYSIZE(wbuf)]; char *buf[ARRAYSIZE(wbuf)]; |