From: Eric Sunshine Date: Fri, 28 Aug 2020 16:27:30 GMT Subject: Re: [PATCH 3/5] worktree: teach "repair" to fix outgoing links to worktrees Message-ID: In-Reply-To: On Fri, Aug 28, 2020 at 8:55 AM Johannes Schindelin wrote: > On Thu, 27 Aug 2020, Eric Sunshine wrote: > > + struct strbuf main = STRBUF_INIT; > > This is needed to shut up GCC's "‘main’ is usually a function > [-Werror=main]" error. D'oh, thanks. I got hit by this just a couple months ago[1] and (for some reason) was even looking at [1] the same day I submitted this patch. Will fix it in the re-roll. [1]: https://lore.kernel.org/git/20200610063049.74666-1-sunshine@sunshineco.com/