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

Re: [PATCH] Fix some sparse warnings

From
Stefan Beller <stefanbeller@googlemail.com>
Date
Jul 17, 2013, 22:16 UTC
Message-ID
<51E717C4.6010606@googlemail.com>
In-Reply-To
<51E715D8.9040307@googlemail.com>
On 07/18/2013 12:08 AM, Stefan Beller wrote:
> 
> So I started using the clang code analyzer on git. One of the 
> first warnings actually is this:
> 

So in case somebody else would also like to play around with the clang static code analyzer:

# get clang: cd <good location> git clone http://llvm.org/git/llvm.git cd llvm/tools git clone http://llvm.org/git/clang cd <good location> mkdir build && cd build cmake .. # if desired make install

# in the Makefile of git change CC = <good location>/llvm/tools/clang/tools/scan-build/ccc-analyzer # then obviously: make clean make

Previous: Stefan BellerNext: Junio C Hamano
Message 10 of 12 in “Fix some sparse warnings”
  1. Fix some sparse warningsRamsay Jones, Jul 15, 2013
  2. Johannes SixtJul 16, 2013
  3. Jeff KingJul 16, 2013
  4. Philip OakleyJul 16, 2013
  5. Stefan BellerJul 16, 2013
  6. Philip OakleyJul 16, 2013
  7. Johannes SixtJul 17, 2013
  8. Stefan BellerJul 17, 2013
  9. parse_object_buffer: Correct freeing the buffer.Stefan Beller, Jul 17, 2013
  10. Stefan BellerJul 17, 2013
  11. Junio C HamanoJul 17, 2013
  12. Ramsay JonesJul 18, 2013

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.