Signed-off-by: Pierre Habouzit <madcoder@xxxxxxxxxx> --- 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html