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

Re: PATCH: diff-cache.c:51: `return' with a value, in function returning void

From
Junio C Hamano <junkio@cox.net>
Date
May 3, 2005, 21:33 UTC
Message-ID
<7vmzrct2ot.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20050503195601.GA4165@steel.home>
>>>>> "AR" == Alex Riesen <fork0@users.sourceforge.net> writes:

AR> gcc -g -O2 -Wall '-DSHA1_HEADER=<openssl/sha.h>' -o git-diff-cache diff-cache.c libgit.a -lz -lssl AR> diff-cache.c: In function `show_new_file': AR> diff-cache.c:51: warning: `return' with a value, in function returning void

This one was fixed in the Linus tree long time ago.
Previous: Alex RiesenNext: Alex Riesen
Message 2 of 3 in “PATCH: diff-cache.c:51: `return' with a value, in function returning void”
  1. Alex RiesenMay 3, 2005
  2. Junio C HamanoMay 3, 2005
  3. Alex RiesenMay 3, 2005

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.