From: Sergey Poznyakoff Date: Sat, 24 Jun 2006 16:49:05 +0000 (+0000) Subject: (segm_count): Change type to size_t X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=c5b15c4ac1138687301b55ac768fa68da1435ef5;p=chaz%2Ftar (segm_count): Change type to size_t --- diff --git a/src/transform.c b/src/transform.c index 525a787..fd2ed51 100644 --- a/src/transform.c +++ b/src/transform.c @@ -64,7 +64,7 @@ struct replace_segm /* Compiled replacement expression */ static struct replace_segm *repl_head, *repl_tail; -static segm_count; /* Number of elements in the above list */ +static size_t segm_count; /* Number of elements in the above list */ static struct replace_segm * add_segment (void) @@ -377,7 +377,6 @@ bool _transform_name_to_obstack (char *input) { regmatch_t *rmp; - char *p; int rc; size_t nmatches = 0; enum case_ctl_type case_ctl = ctl_stop, /* Current case conversion op */ @@ -501,7 +500,7 @@ _transform_name_to_obstack (char *input) bool transform_name_fp (char **pinput, char *(*fun)(char *)) { - char *str, *p; + char *str; bool ret = _transform_name_to_obstack (*pinput); if (ret) {