diff options
author | Moritz Luedecke <ritze@skweez.net> | 2017-08-15 19:16:19 +0200 |
---|---|---|
committer | Moritz Luedecke <ritze@skweez.net> | 2017-08-15 19:16:19 +0200 |
commit | 99bab97ea7f0a04cd2a3488e83424088591dcc1b (patch) | |
tree | 9903d0292c7b048b9aca560a8e0c7f1cbce20081 /pinentry-dmenu.c | |
parent | a1e86f9bb1d0e5571c1aa7eee8501d044bf19c91 (diff) |
Fix uninitialized variable when call pinentry without description
Diffstat (limited to 'pinentry-dmenu.c')
-rw-r--r-- | pinentry-dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pinentry-dmenu.c b/pinentry-dmenu.c index 8cea096..15e4c45 100644 --- 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)); |