chiark / gitweb /
Remove a few unused declarations spotted by GCC
authorBen Harris <bjh21@bjh21.me.uk>
Sat, 28 Mar 2020 16:03:12 +0000 (16:03 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 28 Mar 2020 16:03:12 +0000 (16:03 +0000)
bedstead.c

index 87139c88c981b1e78652da9448285d517c40874b..a13b199122ae2b4e281518a19176dbf23054f6e0 100644 (file)
@@ -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);