From 10dc1c6a4615f334bedd9dcb0cad641c816dbfa1 Mon Sep 17 00:00:00 2001 From: Erik Hovland Date: Wed, 18 Mar 2009 14:43:48 +0100 Subject: [PATCH] Properly initialize struct stats in buffy check --- ChangeLog | 17 +++++++++++++++++ buffy.c | 4 ++++ 2 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index 755e7248c..9de5c2837 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +2009-03-17 20:04 +0100 Rocco Rutte (903b3cee5485) + + * addrbook.c, browser.c, compose.c, curs_main.c, imap/auth.c, mx.c, + pattern.c, pop_auth.c, postpone.c, query.c, recvattach.c, + remailer.c: Fix some warnings with -W about missing initializers in + structs + +2009-03-17 16:44 +0100 Todd Zullinger (bb9b845800f6) + + * ChangeLog, pgp.c: Ensure display is redrawn for application/pgp + + When using gpg-agent, a hard redraw is needed after the pinentry + program is called. Otherwise, the screen is garbled and key + bindings are screwed up. + + Closes #3196. + 2009-03-15 16:44 +0100 Rocco Rutte (bc7c64ff3e48) * configure.ac, protos.h, wcscasecmp.c: Add wcscasecmp() compatibility diff --git a/buffy.c b/buffy.c index c5578504d..f7b366cb2 100644 --- a/buffy.c +++ b/buffy.c @@ -260,6 +260,10 @@ int mutt_buffy_check (int force) struct stat contex_sb; time_t t; + sb.st_size=0; + contex_sb.st_dev=0; + contex_sb.st_ino=0; + #ifdef USE_IMAP /* update postponed count as well, on force */ if (force) -- 2.40.0