git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] attr.c: simplify macroexpand_one()

From
Eric Sunshine <sunshine@sunshineco.com>
Date
May 16, 2016, 03:31 UTC
Message-ID
<CAPig+cST7phEvTodEDoYk2UpDOssKg9OVcpddT0sZPy-0aMqsg@mail.gmail.com>
In-Reply-To
<xmqqmvnr3p62.fsf@gitster.mtv.corp.google.com>
On Sun, May 15, 2016 at 6:57 PM, Junio C Hamano <gitster@pobox.com> wrote:
> The double-loop wants to do an early return immediately when one
> matching macro is found.  Eliminate the extra variable 'a' used for
> that purpose and rewrite the "assign found itme to 'a' to make it
What's "itme"?
> non-NULL and force the loop(s) to terminate" with a direct return
> from there.
>
> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previous: Junio C HamanoNext: Junio C Hamano
Message 2 of 4 in “attr.c: simplify macroexpand_one()”
  1. attr.c: simplify macroexpand_one()Junio C Hamano, May 15, 2016
  2. Eric SunshineMay 16, 2016
  3. Junio C HamanoMay 16, 2016
  4. Stefan BellerMay 16, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.