From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B48BD431FAE for ; Thu, 25 Oct 2012 16:33:28 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FKBlGw3w8-RX for ; Thu, 25 Oct 2012 16:33:28 -0700 (PDT) Received: from mail-qc0-f181.google.com (mail-qc0-f181.google.com [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A8119431FD7 for ; Thu, 25 Oct 2012 16:33:27 -0700 (PDT) Received: by mail-qc0-f181.google.com with SMTP id x40so1058185qcp.26 for ; Thu, 25 Oct 2012 16:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=KCGGcGE5QK9cqSfuptgw7x9917v1hSa7rMIM75nvMvk=; b=wAFHfLJjDFtR2E0GpA+7yv9KDRQKvR27eVVtfe46NH4WuFovfzzQOTPKsYvdiUF06m ctuDDddqZe2mm3GyX3DaOck/EFCuwiEt+8yKvONlqyFEvxVsqygr+U3XddTGdUTeWrma dJ4t2LQBAbymrNg1DwFZSJo/e94qRTcFUd4m5trOs5KHVury9wtRhBfWayL35EdsbIFe eH8MT1B5amRGe2WwY/E9EWzRiKO6I0MhlvITSK5J8o7aZYEGlZtVjnn5EUquPzlvtd9+ EqEpLRqRmbK2ezxBO5JzyVftZA8SvBy8t26igIMKJ5WAtXlR0iA7t4Jzy2k0dEsrMQV7 zy0w== Received: by 10.49.132.38 with SMTP id or6mr12120823qeb.26.1351208007522; Thu, 25 Oct 2012 16:33:27 -0700 (PDT) Received: from skynet (26-4-166.dynamic.csail.mit.edu. [18.26.4.166]) by mx.google.com with ESMTPS id x19sm2993871qeq.12.2012.10.25.16.33.25 (version=SSLv3 cipher=OTHER); Thu, 25 Oct 2012 16:33:26 -0700 (PDT) Sender: Taesoo Kim Received: by skynet (sSMTP sendmail emulation); Thu, 25 Oct 2012 19:34:46 -0400 From: Taesoo Kim To: notmuch@notmuchmail.org Subject: [PATCH 2/2] fix: initialize error var before using it Date: Thu, 25 Oct 2012 19:33:59 -0400 Message-Id: <1351208039-32293-3-git-send-email-taesoo@mit.edu> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1351208039-32293-1-git-send-email-taesoo@mit.edu> References: <1351208039-32293-1-git-send-email-taesoo@mit.edu> X-Mailman-Approved-At: Thu, 25 Oct 2012 22:45:51 -0700 Cc: Taesoo Kim X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 23:33:28 -0000 Signed-off-by: Taesoo Kim --- 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