]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - progs/tic.c
ncurses 5.7 - patch 20090117
[ncurses.git] / progs / tic.c
index 31045a63a2a2d6a104d979798b74ca681a44aabe..82bc3ea0d7890dff6c8588b419d8bc565ea8cbf3 100644 (file)
@@ -44,7 +44,7 @@
 #include <dump_entry.h>
 #include <transform.h>
 
-MODULE_ID("$Id: tic.c,v 1.135 2008/08/04 12:43:40 tom Exp $")
+MODULE_ID("$Id: tic.c,v 1.137 2008/09/13 16:59:24 tom Exp $")
 
 const char *_nc_progname = "tic";
 
@@ -99,7 +99,7 @@ free_namelist(char **src)
 #endif
 
 static void
-cleanup(char **namelst)
+cleanup(char **namelst GCC_UNUSED)
 {
 #if NO_LEAKS
     free_namelist(namelst);
@@ -759,7 +759,7 @@ main(int argc, char *argv[])
 
                    dump_entry(&qp->tterm, suppress_untranslatable,
                               limited, numbers, NULL);
-                   for (j = 0; j < qp->nuses; j++)
+                   for (j = 0; j < (int) qp->nuses; j++)
                        dump_uses(qp->uses[j].name, !capdump);
                    len = show_entry();
                    if (debug_level != 0 && !limited)