summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2020-09-13 11:43:46 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2020-09-13 11:43:46 (GMT)
commit5ca6382fe8adb5bc436a6d873c8b86c69d5abfd1 (patch) (side-by-side diff)
treeb811b4f9f1a1acf88da6adeeecb6b7d5f067da64
parent22327bf2e939502ad8ac18e899382d1a4a235ac8 (diff)
downloadmailutils-5ca6382fe8adb5bc436a6d873c8b86c69d5abfd1.tar.gz
mailutils-5ca6382fe8adb5bc436a6d873c8b86c69d5abfd1.tar.bz2
Fix uninitialized variable in readmsg
* readmsg/readmsg.c (main): Initialize weedc.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--readmsg/readmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readmsg/readmsg.c b/readmsg/readmsg.c
index 9f305bb..3a9f420 100644
--- a/readmsg/readmsg.c
+++ b/readmsg/readmsg.c
@@ -466,7 +466,7 @@ main (int argc, char **argv)
mu_mailbox_t mbox = NULL;
struct mu_wordsplit ws;
char **weedv;
- int weedc;
+ int weedc = 0;
int unix_header = 0;
/* Native Language Support */

Return to:

Send suggestions and report system problems to the System administrator.