Commit: 99bab97ea7f0a04cd2a3488e83424088591dcc1b
Parent: a1e86f9bb1d0e5571c1aa7eee8501d044bf19c91
Author: Moritz Luedecke
Date: Tue, 15 Aug 2017 19:16:19 +0200
Fix uninitialized variable when call pinentry without description
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pinentry-dmenu.c b/pinentry-dmenu.c
@@ -135,7 +135,7 @@ insert(const char *str, ssize_t n) {
static void
drawwin(void) {
unsigned int curpos;
- int x = 0, pb = 0, pbw, i;
+ int x = 0, pb = 0, pbw = 0, i;
size_t asterlen = strlen(asterisk);
size_t pdesclen;
char* censort = ecalloc(1, asterlen * sizeof(text));