summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/package.c2
1 files changed, 1 insertions, 1 deletions
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)];