From: Junio C Hamano Date: Mon, 12 Jan 2009 05:39:37 GMT Subject: Re: [PATCH] Cleanup of unused symcache variable inside diff-lib.c Message-ID: <7v4p05krqe.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1231699002-5316-1-git-send-email-barvik@broadpark.no> Kjetil Barvik writes: > diff --git a/diff-lib.c b/diff-lib.c > index ae96c64ca209f4df9008198e8a04b160bed618c7..e6d1d2b34147a13aadb5019e0c8336ef5f56ee39 100644 > --- a/diff-lib.c > +++ b/diff-lib.c > ... > @@ -344,8 +334,7 @@ static void do_oneway_diff(struct unpack_trees_options *o, > struct cache_entry *idx, > struct cache_entry *tree) > { > - struct oneway_unpack_data *cbdata = o->unpack_data; > - struct rev_info *revs = cbdata->revs; > + struct rev_info *revs = o->unpack_data;; Thanks; I'll clean-up the extra semicolon and apply.