diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2014-10-26 18:20:28 +0000 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2014-10-26 18:20:54 +0000 |
commit | e816f16a5007798968f4c9003b3159a45485e88f (patch) | |
tree | 86be1ca571b383ba1d532fa655991d099903732a /menuoptions.c | |
parent | f290b8cd7e40ed8688175fba312697f7da96a34e (diff) |
game: remove useless checks
it is safe to pass a null pointer to SDL_FreeSurface()
BTW: change the format of the files from dos to unix
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'menuoptions.c')
-rw-r--r-- | menuoptions.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/menuoptions.c b/menuoptions.c index 4d704d3..95da338 100644 --- a/menuoptions.c +++ b/menuoptions.c @@ -1,10 +1,10 @@ -#include <stdio.h>
-#include <stdlib.h>
-#include <SDL/SDL.h>
-#include "structures.h"
-
-void Foptions (SURFACES *surfaces, POSITIONS *positions)
-{
-
-}
-
+#include <stdio.h> +#include <stdlib.h> +#include <SDL/SDL.h> +#include "structures.h" + +void Foptions (SURFACES *surfaces, POSITIONS *positions) +{ + +} + |