Re: [PATCH v4 04/12] wildmatch: remove unnecessary functions
From: Michael Haggerty <hidden>
Date: 2016-06-15 22:54:59
On 10/10/2012 12:40 PM, Nguyễn Thái Ngọc Duy wrote:
quoted hunk ↗ jump to hunk
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted> --- wildmatch.c | 161 ++++-------------------------------------------------------- wildmatch.h | 2 - 2 files changed, 9 insertions(+), 154 deletions(-)diff --git a/wildmatch.c b/wildmatch.c index f3a1731..71dba76 100644 --- a/wildmatch.c +++ b/wildmatch.c@@ -53,33 +53,19 @@ #define ISUPPER(c) (ISASCII(c) && isupper(c)) #define ISXDIGIT(c) (ISASCII(c) && isxdigit(c)) -#ifdef WILD_TEST_ITERATIONS -int wildmatch_iteration_count; -#endif - static int force_lower_case = 0; /* Match pattern "p" against the a virtually-joined string consisting * of "text" and any strings in array "a". */ -static int dowild(const uchar *p, const uchar *text, const uchar*const *a) +static int dowild(const uchar *p, const uchar *text)
The comment still refers to array "a". Michael -- Michael Haggerty mhagger@alum.mit.edu http://softwareswirl.blogspot.com/