unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Taesoo Kim <taesoo@mit.edu>
To: notmuch@notmuchmail.org
Cc: Taesoo Kim <taesoo@mit.edu>
Subject: [PATCH 2/2] fix: initialize error var before using it
Date: Thu, 25 Oct 2012 19:33:59 -0400	[thread overview]
Message-ID: <1351208039-32293-3-git-send-email-taesoo@mit.edu> (raw)
In-Reply-To: <1351208039-32293-1-git-send-email-taesoo@mit.edu>


Signed-off-by: Taesoo Kim <taesoo@mit.edu>
---
 notmuch-config.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/notmuch-config.c b/notmuch-config.c
index c95f9dd..195ddb4 100644
--- a/notmuch-config.c
+++ b/notmuch-config.c
@@ -403,6 +403,7 @@ notmuch_config_open (void *ctx,
 	g_error_free (error);
     }
 
+    error = NULL;
     config->maildir_add_as_tag_flags =
 	g_key_file_get_boolean (config->key_file,
 				"maildir", "add_as_tag_flags", &error);
-- 
1.8.0

  parent reply	other threads:[~2012-10-25 23:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-25 23:33 [PATCH 0/2] automatic tagging based on imap maildir Taesoo Kim
2012-10-25 23:33 ` [PATCH 1/2] Automatic tagging based on maildir Taesoo Kim
2012-10-26 11:31   ` David Bremner
2012-10-26 13:19   ` Michal Nazarewicz
2012-10-26 17:14   ` Jani Nikula
2012-10-25 23:33 ` Taesoo Kim [this message]
2012-10-26 17:10 ` [PATCH 0/2] automatic tagging based on imap maildir Amadeusz Żołnowski
2012-10-26 23:02   ` David Bremner
2012-10-27  4:41     ` Taesoo Kim
2012-10-27 13:00       ` David Bremner
2012-10-28 10:03         ` Andrei POPESCU
2012-10-28 15:31           ` Austin Clements
2012-10-28 21:44             ` Andrei POPESCU
2012-10-28 22:12               ` Austin Clements
2012-10-29  0:07                 ` Andrei POPESCU
2012-10-30 18:18           ` Amadeusz Żołnowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1351208039-32293-3-git-send-email-taesoo@mit.edu \
    --to=taesoo@mit.edu \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).