Pierre Habouzit <madcoder@xxxxxxxxxx> writes: > Signed-off-by: Pierre Habouzit <madcoder@xxxxxxxxxx> > @@ -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. - 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