Re: [PATCH] midx.c: mark a file-local symbol as static
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Sep 17, 2018, 20:11 UTC
- Message-ID
- <d4b88c9e-9d02-f361-922e-f85caf3994e1@gmail.com>
- In-Reply-To
- <63d480c7-0312-3b1d-59bc-7b9996facea0@ramsayjones.plus.com>
On 9/14/2018 7:26 PM, Ramsay Jones wrote:
Show 15 quoted lines
> Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> > --- > > 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
Thanks for catching this, Ramsay. Sorry for the mistake.
ds/multi-pack-verify is currently queued for 'next', so I wasn't planning on sending another version.
Junio, could you add this commit to the tip, or squash it into 64cbf3df2 "multi-pack-index: add 'verify' verb"?
Thanks, -Stolee
Show 17 quoted lines
>
> 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, ...)
> {