From 7c3dc41f9a2f177052dca88d8101005152793750 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 28 Mar 2020 16:03:12 +0000 Subject: [PATCH] Remove a few unused declarations spotted by GCC --- bedstead.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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); -- 2.30.2