mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-22 16:32:13 -07:00
loopy_diffnames[] isn't used, and provokes a warning on OS X.
[originally from svn r6389]
This commit is contained in:
2
loopy.c
2
loopy.c
@ -148,7 +148,7 @@ enum {
|
|||||||
#define ENCODE(upper,title,lower) #lower
|
#define ENCODE(upper,title,lower) #lower
|
||||||
#define CONFIG(upper,title,lower) ":" #title
|
#define CONFIG(upper,title,lower) ":" #title
|
||||||
enum { DIFFLIST(ENUM) DIFFCOUNT };
|
enum { DIFFLIST(ENUM) DIFFCOUNT };
|
||||||
static char const *const loopy_diffnames[] = { DIFFLIST(TITLE) };
|
/* static char const *const loopy_diffnames[] = { DIFFLIST(TITLE) }; */
|
||||||
static char const loopy_diffchars[] = DIFFLIST(ENCODE);
|
static char const loopy_diffchars[] = DIFFLIST(ENCODE);
|
||||||
#define DIFFCONFIG DIFFLIST(CONFIG)
|
#define DIFFCONFIG DIFFLIST(CONFIG)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user