From: Pierre Habouzit Date: Wed, 07 Nov 2007 10:20:26 GMT Subject: [PATCH MISC 1/1] Make gcc warning about empty if body go away. Message-ID: <1194430832-6224-2-git-send-email-madcoder@debian.org> In-Reply-To: <1194430832-6224-1-git-send-email-madcoder@debian.org> Signed-off-by: Pierre Habouzit --- builtin-diff.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/builtin-diff.c b/builtin-diff.c index f77352b..80392a8 100644 --- a/builtin-diff.c +++ b/builtin-diff.c @@ -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. */ -- 1.5.3.5.1598.gdef4e