diff libmlk-adventure/adventure/action/spawner.c @ 316:1a6125ffebff

misc: fix many warnings and build on macOS
author David Demelier <markand@malikania.fr>
date Wed, 22 Sep 2021 12:57:55 +0200
parents d01e83210ca2
children
line wrap: on
line diff
--- a/libmlk-adventure/adventure/action/spawner.c	Wed Sep 22 10:04:15 2021 +0200
+++ b/libmlk-adventure/adventure/action/spawner.c	Wed Sep 22 12:57:55 2021 +0200
@@ -48,6 +48,8 @@
 static void
 fight(struct spawner *s)
 {
+	(void)s;
+
 	struct battle *bt;
 
 	bt = alloc_new0(sizeof (*bt));