fweep: fix build with sdcc 3.7.1 for Travis
authorJens Guenther <dbotw@gmx.net>
Sun, 21 Oct 2018 10:13:34 +0000 (12:13 +0200)
committerJens Guenther <dbotw@gmx.net>
Sun, 21 Oct 2018 10:13:34 +0000 (12:13 +0200)
Applications/games/fweep.c

index f38d688..cef8bd6 100644 (file)
@@ -1104,9 +1104,10 @@ void tokenise(uint16_t text, uint16_t dict, uint16_t parsebuf, int len,
        boolean ws[256];
        uint8_t d[10];
        int i, el, ne, k, p, p1;
-       memset(ws, 0, 256 * sizeof(boolean));
        int l;
 
+       memset(ws, 0, 256 * sizeof(boolean));
+
        /* A big copy we should avoid */
        /* FIXME change algorithms */
        /* Read the table of character codes that count as a word */