chiark / gitweb /
Make the code base clean under -Wwrite-strings.
[sgt-puzzles.git] / sixteen.c
index 74f221aebc1b3d7e313de574bf50dec10737bf9e..70cc43339a4a67b78fe2bada9c8c29446e824c63 100644 (file)
--- a/sixteen.c
+++ b/sixteen.c
@@ -398,8 +398,7 @@ static char *new_game_desc(const game_params *params, random_state *rs,
 
 static const char *validate_desc(const game_params *params, const char *desc)
 {
-    const char *p;
-    char *err;
+    const char *p, *err;
     int i, area;
     int *used;