summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-01-27 11:06:16 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-01-27 11:06:16 +0200
commit45627bc0555722c1458768fea3e95a95f4c6c24b (patch)
treef37cfd0c0712a6f7348b39bda78a512169d0eebf
parente54e6b0219743b45d10b676a1b4df95c8611146b (diff)
downloadmailutils-45627bc0555722c1458768fea3e95a95f4c6c24b.tar.gz
mailutils-45627bc0555722c1458768fea3e95a95f4c6c24b.tar.bz2
Minor fix
* search.c (_match_multipart): Initialize result.
-rw-r--r--imap4d/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap4d/search.c b/imap4d/search.c
index fdde44ba0..47acabbd7 100644
--- a/imap4d/search.c
+++ b/imap4d/search.c
@@ -977,13 +977,13 @@ _match_text (struct parsebuf *pb, mu_message_t msg, mu_content_type_t ct,
static int
_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;
if (mu_message_is_multipart (msg, &ismp))
return 0;

Return to:

Send suggestions and report system problems to the System administrator.