From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 00AF86DE110A for ; Fri, 6 Jan 2017 12:15:12 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" X-Spam-Flag: NO X-Spam-Score: -0.192 X-Spam-Level: X-Spam-Status: No, score=-0.192 tagged_above=-999 required=5 tests=[AWL=-0.172, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 67psNOAriQ5M for ; Fri, 6 Jan 2017 12:15:11 -0800 (PST) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by arlo.cworth.org (Postfix) with ESMTPS id 632876DE111A for ; Fri, 6 Jan 2017 12:15:06 -0800 (PST) Received: by mail-lf0-f67.google.com with SMTP id q89so749994lfi.1 for ; Fri, 06 Jan 2017 12:15:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=Ind9VlHHOYasxhuHh7aGp3fyOMXMS8fsXg4XObEWjsM=; b=X73mURsxut5ygW3ofrzmi/Eo7EVqP+2qRlYO1+T47THmBExr1M7vfE5HlHw9LCWD81 HFnZ6vJMwzFYTOdxGxaIop6e+GmP6FiKa1749ZLyQ4cZWPN0wHePw0hhlq+4dv7z1UaJ CrFS90DfCReVxO9+FxfPqRvB3VZj8z50UwJa8Hpyoxbt0sRj5M8vnoaZuv7Bz7xIDY1o hLlvkqqMu9dtpA1luzvvHLh/DJzJAhdhQ0LJ5mvLlyS9DYFsvyihULauvGWO08aFfti4 0y3I7etIA8BpIfKydv8Si70OXpaif7zSZQhcRAHQOwhQqukwtcUa3zfNsuaHjzlCNMC6 ZLpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=Ind9VlHHOYasxhuHh7aGp3fyOMXMS8fsXg4XObEWjsM=; b=U3TAKPpCnUwb5wgajgYio9P6DD5h+HX62ZInnFAWoT6J1pyrL0DwuUPuSe0fky1WRK ms29Ngxx7zaSAvC5mjUoct/JfyAc/qBFD+78R68x1XXSKZBqMTpNFcbmpufhuymTfHrm viTjSyaxafUPHNCSwKd96pG2WUnD+QyPW03ODdCfWZ61eA3B8/H+czwU8/mDP2qIXtNi t80iVBjqANoysEk40Fo1dSKQVy35i0y/9rGXmQXRr3TsFz2rR9UV1CmU3W+bQOpPdice Q7z/8/MPEvQsIDaAwjkV7LVnUQznh5J+LzRDkCw9n4ZWl0EusNQI+Bb/sZHcwVdQ7uhO fgtw== X-Gm-Message-State: AIkVDXJKBrZgrrKv+QDayXP/YRxsqQNjBkDPrxYS5viyB9IBqGGvO9ec2WhkJmwUgch1rg== X-Received: by 10.25.0.196 with SMTP id 187mr27061901lfa.156.1483733704386; Fri, 06 Jan 2017 12:15:04 -0800 (PST) Received: from localhost (mobile-access-bceec7-199.dhcp.inet.fi. [188.238.199.199]) by smtp.gmail.com with ESMTPSA id 137sm18893018lfz.2.2017.01.06.12.15.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Jan 2017 12:15:03 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 9/9] cli: do not initialize zero values with designated initializers Date: Fri, 6 Jan 2017 22:14:50 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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: Fri, 06 Jan 2017 20:15:12 -0000 Let the language initialize defaults to zero when some values are initialized to non-zero values. No functional changes. --- notmuch-reply.c | 5 ----- notmuch-show.c | 6 ------ 2 files changed, 11 deletions(-) diff --git a/notmuch-reply.c b/notmuch-reply.c index 8c894974485d..166a59467eec 100644 --- a/notmuch-reply.c +++ b/notmuch-reply.c @@ -701,11 +701,6 @@ notmuch_reply_command (notmuch_config_t *config, int argc, char *argv[]) int opt_index; notmuch_show_params_t params = { .part = -1, - .crypto = { - .verify = FALSE, - .decrypt = FALSE, - .gpgpath = NULL - } }; int format = FORMAT_DEFAULT; int reply_all = TRUE; diff --git a/notmuch-show.c b/notmuch-show.c index cd16cbf68fe0..7fd5e9bc46c6 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -994,12 +994,6 @@ notmuch_show_command (notmuch_config_t *config, int argc, char *argv[]) .part = -1, .omit_excluded = TRUE, .output_body = TRUE, - .crypto = { - .verify = FALSE, - .decrypt = FALSE, - .gpgpath = NULL - }, - .include_html = FALSE }; int format = NOTMUCH_FORMAT_NOT_SPECIFIED; int exclude = EXCLUDE_TRUE; -- 2.11.0