summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-01-27 09:06:16 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-01-27 09:06:16 (GMT)
commit45627bc0555722c1458768fea3e95a95f4c6c24b (patch) (side-by-side diff)
treef37cfd0c0712a6f7348b39bda78a512169d0eebf
parente54e6b0219743b45d10b676a1b4df95c8611146b (diff)
downloadmailutils-45627bc0555722c1458768fea3e95a95f4c6c24b.tar.gz
mailutils-45627bc0555722c1458768fea3e95a95f4c6c24b.tar.bz2
Minor fix
* search.c (_match_multipart): Initialize result.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--imap4d/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap4d/search.c b/imap4d/search.c
index fdde44b..47acabb 100644
--- a/imap4d/search.c
+++ b/imap4d/search.c
@@ -980,7 +980,7 @@ _match_multipart (struct parsebuf *pb, mu_message_t msg, char *text)
mu_header_t hdr;
char *encoding;
int ismp;
- int result;
+ int result = 0;
mu_content_type_t ct;
char *buf;
int rc;

Return to:

Send suggestions and report system problems to the System administrator.