Re: [PATCH 1/5] check-ref-format: Refactor out check_one_ref_format
- From
- Ian Jackson <ijackson@chiark.greenend.org.uk>
- Date
- Dec 19, 2016, 13:19 UTC
- Message-ID
- <22615.56956.698915.2223@chiark.greenend.org.uk>
- In-Reply-To
- <3e277bb8-bd1f-0d8c-47a7-9673ad711bce@alum.mit.edu>
Michael Haggerty writes ("Re: [PATCH 1/5] check-ref-format: Refactor out check_one_ref_format"):> On 11/04/2016 08:13 PM, Ian Jackson wrote: > > +static int check_one_ref_format(const char *refname)
...
> This function needs to `return 0` if it gets to the end.
Indeed it does. I'm kind of surprised my compiler didn't spot that.
Thanks for the careful review!
Regards, Ian.
-- Ian Jackson <ijackson@chiark.greenend.org.uk> These opinions are my own. If I emailed you from an address @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.