13
0

remove unused variable

This commit is contained in:
Len Ovens 2017-05-15 18:40:48 -07:00
parent f4beb4611f
commit f3f1816899
2 changed files with 3 additions and 3 deletions

View 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;

View 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);