[evolution-data-server/evolution-data-server-3-12] Fix "may be used uninitialized" warning
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/evolution-data-server-3-12] Fix "may be used uninitialized" warning
- Date: Thu, 18 Dec 2014 09:27:27 +0000 (UTC)
commit 1eb1f0db0ee756cb55538ead2fbc7f0b8089b115
Author: Fabiano FidĂȘncio <fidencio redhat com>
Date: Fri Apr 25 01:26:31 2014 +0200
Fix "may be used uninitialized" warning
camel/camel-mime-part.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index b1ecdab..ace8f27 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -787,6 +787,7 @@ mime_part_write_to_output_stream_sync (CamelDataWrapper *dw,
if (val == NULL) {
g_warning ("h->value is NULL here for %s", h->name);
bytes_written = 0;
+ result = 0;
} else if ((writefn = g_hash_table_lookup (header_formatted_table, h->name)) == NULL)
{
val = camel_header_fold (val, strlen (h->name));
result = write_header (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]