From: Junio C Hamano Date: Wed, 26 Dec 2012 18:44:43 GMT Subject: Re: [PATCH 2/8] wildmatch: rename constants and update prototype Message-ID: <7vvcboodpg.fsf@alter.siamese.dyndns.org> In-Reply-To: <1356163028-29967-3-git-send-email-pclouds@gmail.com> Nguyễn Thái Ngọc Duy writes: > @@ -134,101 +131,102 @@ static int dowild(const uchar *p, const uchar *text, int force_lower_case) > p_ch = NEGATE_CLASS; > #endif > /* Assign literal TRUE/FALSE because of "matched" comparison. */ > - special = p_ch == NEGATE_CLASS? TRUE : FALSE; > + special = p_ch == NEGATE_CLASS; Leftover comment needs to be reworded as well??? > if (special) { > /* Inverted character class. */ > p_ch = *++p; > } I'd prefer "special" used in the "case '['" given a more sensible name here.