From f3f18168995b7d22dfa6589b12e61b72903faa56 Mon Sep 17 00:00:00 2001 From: Len Ovens Date: Mon, 15 May 2017 18:40:48 -0700 Subject: [PATCH] remove unused variable --- libs/surfaces/osc/osc.cc | 4 ++-- 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 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); -- 2.30.2