Re: [PATCH 3/5] worktree: teach "repair" to fix outgoing links to worktrees

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 28, 2020 at 8:55 AM Johannes Schindelin
<Johannes.Schindelin@xxxxxx> 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@xxxxxxxxxxxxxx/



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux