From: Ben Harris Date: Sun, 3 Nov 2024 00:16:17 +0000 (+0000) Subject: Remove extraglyphs variable that's no longer needed X-Git-Tag: bedstead-3.246~58 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=568f347469ac6845fbeb5e025f200da21dcba198;p=bedstead-debian.git Remove extraglyphs variable that's no longer needed --- diff --git a/bedstead.c b/bedstead.c index 5df11b8..b389c41 100644 --- a/bedstead.c +++ b/bedstead.c @@ -2768,7 +2768,6 @@ main(int argc, char **argv) { bool gen_bdf = false; int i; - int extraglyphs = 0; char *endptr, *timestr; if (argc == 2 && strcmp(argv[1], "--complement") == 0) { @@ -2849,9 +2848,6 @@ main(int argc, char **argv) /* Put glyphs into FontForge-compatible order. */ qsort(glyphs, nglyphs, sizeof(glyphs[0]), &compare_glyphs_by_ffid); - for (i = 0; i < nglyphs; i++) - if (glyphs[i].unicode == -1) - extraglyphs++; printf("\n"); printf("\n"); /* Convenient macros for TTX values. */ @@ -3078,7 +3074,6 @@ main(int argc, char **argv) /* printf("OtfFeatName: 'ss16' 1033 \"6-cell separated graphics\"\n"); */ /* printf("Lookup: 257 0 0 \"palt: proportional metrics\" {\"palt\"} " */ /* "['palt' ('DFLT' <'dflt'> 'latn' <'dflt'>)]\n"); */ - extraglyphs = 0; for (i = 0; i < nglyphs; i++) glyphs_by_name[i] = glyphs + i; qsort(glyphs_by_name, nglyphs, sizeof(glyphs_by_name[0]),