From: Ben Harris Date: Sat, 28 Mar 2020 16:03:12 +0000 (+0000) Subject: Remove a few unused declarations spotted by GCC X-Git-Tag: bedstead-002.001~15 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=7c3dc41f9a2f177052dca88d8101005152793750;p=bedstead-debian.git Remove a few unused declarations spotted by GCC --- diff --git a/bedstead.c b/bedstead.c index 87139c8..a13b199 100644 --- a/bedstead.c +++ b/bedstead.c @@ -213,7 +213,6 @@ struct weight const *weight = &weights[0]; #define XQTR_S (XPIX_S/4) #define YQTR_S (YPIX_S/4) -static void doprologue(void); static void dochar(char const data[YSIZE], unsigned flags); static void dochar_plotter(char const data[YSIZE], unsigned flags); static void domosaic(unsigned code, bool sep); @@ -2069,7 +2068,6 @@ dolookups(struct glyph const *g) char prefix[32]; struct glyph const **found; size_t plen; - int i; plen = sprintf(prefix, "%s.", g->name); assert(plen < 32); @@ -2313,7 +2311,7 @@ static void emit_path() { int i, pass; - point *p, *p1; + point *p; bool started = false; /* @@ -2576,8 +2574,6 @@ dochar_plotter(char const data[YSIZE], unsigned flags) clearpath(); for (x = 0; x < XSIZE; x++) { for (y = 0; y < YSIZE; y++) { - bool connected = false; - if (GETPIX(x, y)) { if (R) CONNECT(1, 0); if (D) CONNECT(0, -1);