diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-06-21 22:04:49 +0200 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-06-21 22:05:37 +0200 |
| commit | ba7d2c8e48711cf089c35745234d71574bc7ae7f (patch) | |
| tree | e75545990bd406979601f4ccfc6531e621844444 /regcomp.c | |
| parent | 13f5fd77bbc528862f295f9e7196f3ff709d185a (diff) | |
| download | terex-ba7d2c8e48711cf089c35745234d71574bc7ae7f.tar.gz | |
fixed some warnings when building with `-Wall`
Diffstat (limited to 'regcomp.c')
| -rw-r--r-- | regcomp.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -83,9 +83,11 @@ static chr lexdigits(struct vars *, int, int, int); static int brenext(struct vars *, pchr); static void skip(struct vars *); static chr newline(NOPARMS); +#if 0 #ifdef REG_DEBUG static const chr *ch(NOPARMS); #endif +#endif static pchr chrnamed(struct vars *, const chr *, const chr *, pchr); /* === regc_color.c === */ static void initcm(struct vars *, struct colormap *); @@ -2039,7 +2041,7 @@ dump( } fprintf(f, "\n\n\n========= DUMP ==========\n"); - fprintf(f, "nsub %d, info 0%lo, csize %d, ntree %d\n", + fprintf(f, "nsub %zu, info 0%lo, csize %d, ntree %d\n", re->re_nsub, re->re_info, re->re_csize, g->ntree); dumpcolors(&g->cmap, f); |
