Cleanups from James H: a few missing statics, a precautionary cast

or two, a debugging fix, a couple of explicit initialisations of
variables that were previously read uninitialised, and a fix for a
whopping great big memory leak in Slant owing to me having
completely forgotten to write free_game().

[originally from svn r6159]
This commit is contained in:
Simon Tatham
2005-08-03 12:44:51 +00:00
parent c212a1b5eb
commit 414330d9ad
5 changed files with 23 additions and 12 deletions

2
dsf.c
View File

@ -4,6 +4,8 @@
* worry about avoiding closed loops.
*/
#include "puzzles.h"
int dsf_canonify(int *dsf, int val)
{
int v2 = val;