From patchwork Fri Sep 14 23:26:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramsay Jones X-Patchwork-Id: 10601299 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DC716112B for ; Fri, 14 Sep 2018 23:26:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8A0B2BACE for ; Fri, 14 Sep 2018 23:26:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8488C2BAF0; Fri, 14 Sep 2018 23:26:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E81D92BACE for ; Fri, 14 Sep 2018 23:26:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726707AbeIOEnR (ORCPT ); Sat, 15 Sep 2018 00:43:17 -0400 Received: from avasout06.plus.net ([212.159.14.18]:43050 "EHLO avasout06.plus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725724AbeIOEnR (ORCPT ); Sat, 15 Sep 2018 00:43:17 -0400 Received: from [10.0.2.15] ([80.189.70.183]) by smtp with ESMTPA id 0xTxg6R4nWLW20xTygsioN; Sat, 15 Sep 2018 00:26:39 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=fJUXI6Se c=1 sm=1 tr=0 a=6SF67mWK+VR8hB1Kjo6y2g==:117 a=6SF67mWK+VR8hB1Kjo6y2g==:17 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=3j6fI3gwtbhRmM_KvNMA:9 a=QEXdDO2ut3YA:10 a=yJM6EZoI5SlJf8ks9Ge_:22 X-AUTH: ramsayjones@:2500 To: Derrick Stolee Cc: Junio C Hamano , GIT Mailing-list From: Ramsay Jones Subject: [PATCH] midx.c: mark a file-local symbol as static Message-ID: <63d480c7-0312-3b1d-59bc-7b9996facea0@ramsayjones.plus.com> Date: Sat, 15 Sep 2018 00:26:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-GB X-CMAE-Envelope: MS4wfI0H8zNZMeZmk/Gfspa5uXJe2HSXeXO0vyYiZo19bFviWEDPh5OZBNDygo+Ip0DbDJT3BbOcbQ671JgPJEGcBUHSSE0rxT1MITZtCrHowVn/RuOUq1oJ HoMbA+5HVYBEzeM3wrk0EHz7utH0gzf9bElExw6WIJ7Cu9jzoWv3pLY8/kv5cYkHgETYGaXn3fSjTA== Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Ramsay Jones --- Hi Derrick, If you need to re-roll your 'ds/multi-pack-verify' branch, could you please squash this into the relevant patch (commit 64cbf3df21, "multi-pack-index: add 'verify' verb", 2018-09-13). [noticed by sparse]. Thanks. ATB, Ramsay Jones midx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midx.c b/midx.c index 4d4c930522..713d6f9dde 100644 --- a/midx.c +++ b/midx.c @@ -926,7 +926,7 @@ void clear_midx_file(const char *object_dir) free(midx); } -int verify_midx_error; +static int verify_midx_error; static void midx_report(const char *fmt, ...) {