Subject: [PATCH MISC 1/1] Make gcc warning about empty if body go away.

From: Pierre Habouzit <[email-masked]>
Date: Wed, 7 Nov 2007 11:20:26 +0100

Signed-off-by: Pierre Habouzit <[email-masked]>
---
 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