Re: [PATCH v4 04/12] wildmatch: remove unnecessary functions
On 10/10/2012 12:40 PM, Nguyễn Thái Ngọc Duy wrote:
Show 25 quoted lines
>
> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> ---
> 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/