]> Dogcows Code - chaz/tar/commitdiff
(segm_count): Change type to size_t
authorSergey Poznyakoff <gray@gnu.org.ua>
Sat, 24 Jun 2006 16:49:05 +0000 (16:49 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 24 Jun 2006 16:49:05 +0000 (16:49 +0000)
src/transform.c

index 525a7875134696289d502d8fdb3039ce19bc2e55..fd2ed51ec70401101b0120693e28974a9463e477 100644 (file)
@@ -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)
       {
This page took 0.02362 seconds and 4 git commands to generate.