From ef58f9caaa803c1d42b8c5b9b6e0a208968478ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Sat, 21 Aug 2010 19:14:19 +0000 Subject: add template.c and fix warning in mycobject.c svn path=/trunk/externals/template/; revision=13879 --- mycobject.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mycobject.c') diff --git a/mycobject.c b/mycobject.c index 0020de5..20dad23 100644 --- a/mycobject.c +++ b/mycobject.c @@ -15,12 +15,14 @@ typedef struct mycobject void mycobject_float(t_mycobject *x, t_floatarg f) { post("mycobject: %f", f); + x=NULL; /* don't warn about unused variables */ } /* this is called when mycobject gets the message, "rats". */ void mycobject_rats(t_mycobject *x) { post("mycobject: rats"); + x=NULL; /* don't warn about unused variables */ } /* this is a pointer to the class for "mycobject", which is created in the -- cgit v1.2.1