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

Re: [PATCH] sh-18n: quell "unused variable" warning

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
May 25, 2011, 23:33 UTC
Message-ID
<BANLkTi=Mgd7=eriOsz1phDBJ25Com2Y=mQ@mail.gmail.com>
In-Reply-To
<62c2e1619edcb37c0411f29a34b6bc10e3899a97.1306317312.git.git@drmicha.warpmail.net>

On Wed, May 25, 2011 at 11:55, Michael J Gruber <git@drmicha.warpmail.net> wrote:

I suppose it was inevitable that we'd end up maintaining this since upstream only maintains the GPLv3 version now.

>   /* Default values for command line options.  */
> -  unsigned short int show_variables = 0;
> +  /* unsigned short int show_variables = 0; */
> -         show_variables = 1;
> +         /* show_variables = 1; */
Can we just remove these lines instead of commenting them out?
Previous: Junio C HamanoNext: Michael J Gruber
Message 3 of 5 in “sh-18n: quell "unused variable" warning”
  1. sh-18n: quell "unused variable" warningMichael J Gruber, May 25, 2011
  2. Junio C HamanoMay 25, 2011
  3. Ævar Arnfjörð BjarmasonMay 25, 2011
  4. Michael J GruberMay 26, 2011
  5. Ævar Arnfjörð BjarmasonMay 26, 2011

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.