From c856bf200f64502de6dc77d24f96040a4e42c7fe Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 19 Oct 2006 04:13:27 +0000 Subject: fixed up to hopefully build on MinGW gcc 3.4.5 since currently it crashes gcc. I have to say this code is ugly, so its hard to blame gcc. Too many peole just doing quick fixes, and no one caring... I am also guilty as charged. But I did take a moment to remove some warnings svn path=/trunk/externals/OSCx/; revision=6142 --- src/sendOSC.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/sendOSC.c') diff --git a/src/sendOSC.c b/src/sendOSC.c index 4340f8a..10c22c9 100644 --- a/src/sendOSC.c +++ b/src/sendOSC.c @@ -87,7 +87,7 @@ typedef struct } typedArg; -static int exitStatus = 0; +//static int exitStatus = 0; static int useTypeTags = 0; static char bufferForOSCbuf[SC_BUFFER_SIZE]; @@ -245,7 +245,7 @@ void sendOSC_disconnect(t_sendOSC *x) static void sendOSC_sendtyped(t_sendOSC *x, t_symbol *s, int argc, t_atom *argv) { char messageName[MAXPDSTRING]; - char *token; + // char *token; typedArg args[MAX_ARGS]; int i; @@ -417,7 +417,6 @@ typedArg ParseAtom(t_atom *a) int WriteMessage(OSCbuf *buf, char *messageName, int numArgs, typedArg *args) { int j, returnVal; - const int wmERROR = -1; returnVal = 0; -- cgit v1.2.1