aboutsummaryrefslogtreecommitdiff
path: root/src/sendOSC.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-10-19 04:13:27 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-10-19 04:13:27 +0000
commitc856bf200f64502de6dc77d24f96040a4e42c7fe (patch)
tree9edb55bd32efb28fd263decc4f9732b7b48b40a9 /src/sendOSC.c
parentd4feaf4ff76c78862a2bc54851f3ed1f7709bcdb (diff)
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
Diffstat (limited to 'src/sendOSC.c')
-rw-r--r--src/sendOSC.c5
1 files changed, 2 insertions, 3 deletions
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;