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

C internals cleanup

From
Andy Lester <andy@petdance.com>
Date
Apr 13, 2009, 03:15 UTC
Message-ID
<22578EEA-DB8B-4DAF-B217-FF13DC8A3EC7@petdance.com>

I've been poking around in the source for git, and wanted to pitch in and clean some things up.

Two biggies that tend to get overlooked: Applying the const keyword where possible, and localizing variables to innermost blocks.

Also, want to to get a target going in the Makefile for running under splint.

Just want to make sure my internal cleanups are not going to be seen as a nuisance.

xoxo, Andy

-- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance

Next: Junio C Hamano
Message 1 of 3 in “C internals cleanup”
  1. Andy LesterApr 13, 2009
  2. Junio C HamanoApr 13, 2009
  3. Andy LesterApr 13, 2009

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.