Re: [PATCH MISC 1/1] Make gcc warning about empty if body go away.
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 8, 2007, 01:52 UTC
- Message-ID
- <7v1wb18pwk.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1194430832-6224-2-git-send-email-madcoder@debian.org>
Pierre Habouzit <madcoder@debian.org> writes:
Show 10 quoted lines
> Signed-off-by: Pierre Habouzit <madcoder@debian.org> > @@ -204,7 +204,7 @@ static void refresh_index_quietly(void) > if (write_cache(fd, active_cache, active_nr) || > close(fd) || > commit_locked_index(lock_file)) > - ; /* > + (void)0; /* > * silently ignore it -- we haven't mucked > * with the real index. > */
Ok, will apply after reindenting a bit, and adding a quote to the description that I could not parse on the first reading:
Make gcc warning about "empty if body" go away.
Thanks.