Hi Everyone,

I recently noticed that there is an unused variable in gomoku.h. I
have included a diff that removes the unused variable, and have
verified that gomoku compiles cleanly afterwards. I have performed a
search for this header file within the source tree, and it looks like
gomoku is the only program that references this header file.

I thought I should share this in case it should be removed to cleanup the code!

Thanks and have a nice day,
Peter


Index: gomoku.h
===================================================================
RCS file: /cvs/src/games/gomoku/gomoku.h,v
retrieving revision 1.12
diff -u -p -u -p -r1.12 gomoku.h
--- gomoku.h    4 Jan 2016 17:33:24 -0000       1.12
+++ gomoku.h    26 Dec 2017 22:05:11 -0000
@@ -222,7 +222,6 @@ struct      spotstr {
        u_char          s_nforce[2];    /* number of <1,x> combos */
        struct elist    *s_empty;       /* level n combo completion spots */
        struct elist    *s_nempty;      /* level n+1 combo completion spots */
-       int             dummy[2];       /* XXX */
 };

 /* flag values for s_flg */

Reply via email to