remove unused variable
authorLen Ovens <len@ovenwerks.net>
Tue, 16 May 2017 01:40:48 +0000 (18:40 -0700)
committerLen Ovens <len@ovenwerks.net>
Tue, 16 May 2017 02:38:41 +0000 (19:38 -0700)
libs/surfaces/osc/osc.cc
libs/surfaces/osc/osc.h

index 052e9502c051f9bdbc367733ecc0c893dd1b7b77..2553499ad15c9c55efc8486895cd943f450a11c4 100644 (file)
@@ -860,7 +860,7 @@ OSC::catchall (const char *path, const char* types, lo_arg **argv, int argc, lo_
        len = strlen (path);
 
        if (strstr (path, "/automation")) {
-               ret = set_automation (path, len, argv, argc, msg);
+               ret = set_automation (path, argv, argc, msg);
 
        } else
        if (len >= 17 && !strcmp (&path[len-15], "/#current_value")) {
@@ -2197,7 +2197,7 @@ OSC::route_get_receives(lo_message msg) {
 // strip calls
 
 int
-OSC::set_automation (const char *path, size_t len, lo_arg **argv, int argc, lo_message msg)
+OSC::set_automation (const char *path, lo_arg **argv, int argc, lo_message msg)
 {
        if (!session) return -1;
 
index 902e0e73d6646313bb52cb41bbb0110bfd83b872..c21ea1dc0a430939efab85fee7b215762f2bc234 100644 (file)
@@ -230,7 +230,7 @@ class OSC : public ARDOUR::ControlProtocol, public AbstractUI<OSCUIRequest>
        int catchall (const char *path, const char *types, lo_arg **argv, int argc, void *data);
        static int _catchall (const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data);
 
-       int set_automation (const char *path, size_t len, lo_arg **argv, int argc, lo_message msg);
+       int set_automation (const char *path, lo_arg **argv, int argc, lo_message msg);
 
        int route_get_sends (lo_message msg);
        int route_get_receives(lo_message msg);