diff options
author | Len Ovens <len@ovenwerks.net> | 2017-05-15 18:40:48 -0700 |
---|---|---|
committer | Len Ovens <len@ovenwerks.net> | 2017-05-15 19:38:41 -0700 |
commit | f3f18168995b7d22dfa6589b12e61b72903faa56 (patch) | |
tree | 3e74b80678f2c658cd0a4d654ae133308d2dd060 /libs/surfaces | |
parent | f4beb4611f714f53476fd5b1bb3697875ef9da22 (diff) |
remove unused variable
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/osc/osc.cc | 4 | ||||
-rw-r--r-- | libs/surfaces/osc/osc.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index 052e9502c0..2553499ad1 100644 --- a/libs/surfaces/osc/osc.cc +++ b/libs/surfaces/osc/osc.cc @@ -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; diff --git a/libs/surfaces/osc/osc.h b/libs/surfaces/osc/osc.h index 902e0e73d6..c21ea1dc0a 100644 --- a/libs/surfaces/osc/osc.h +++ b/libs/surfaces/osc/osc.h @@ -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); |