From: Jani Nikula Date: Thu, 5 Jan 2012 20:25:12 +0000 (+0200) Subject: cli: fix use of uninitialized variable in "notmuch reply" X-Git-Tag: debian/0.12_rc1-1~225^2~1 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=230c2ed35750d57203977a159cfb0da21118032d;hp=230c2ed35750d57203977a159cfb0da21118032d cli: fix use of uninitialized variable in "notmuch reply" notmuch_show_params_t params is only initialized partially in notmuch_reply_command(). The only field that is used uninitialized is params.decrypt. It is usually non-zero, making "notmuch reply" on encrypted messages work by coincidence. Initialize params properly, and set params.decrypt as needed. Signed-off-by: Jani Nikula ---