From: David Kastrup Date: Mon, 03 Mar 2014 17:25:52 GMT Subject: Re: [PATCH] cache_tree_find(): remove redundant check in while condition Message-ID: <8761nvkxcv.fsf@fencepost.gnu.org> In-Reply-To: <5314B6E4.7030607@alum.mit.edu> Michael Haggerty writes: > On 03/03/2014 05:32 PM, David Kastrup wrote: >> [...] >> So perhaps all of that should just be >> >> while (*slash == '/') >> slash++; >> if (!*slash) >> return it; >> > > I just fixed a little thing that caught my eye. You OWNED it. You are > absolutely right. > > Will you prepare a patch or would you like me to do it? Feel free. I really should be finishing some other patches instead... -- David Kastrup