aboutsummaryrefslogtreecommitdiff
path: root/tuio2_out.c
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2018-05-18 12:21:13 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2018-05-18 12:21:13 +0200
commitad5e3f22b61763eb31c61535ceb96c3fcf656ba2 (patch)
tree30f2e2e98b88cca1626a38771f9c39066627076d /tuio2_out.c
parent8dff54dd944eb99e80eb2fa130ccc6b713ecf46b (diff)
downloadespressivo.lv2-ad5e3f22b61763eb31c61535ceb96c3fcf656ba2.zip
espressivo.lv2-ad5e3f22b61763eb31c61535ceb96c3fcf656ba2.tar.gz
espressivo.lv2-ad5e3f22b61763eb31c61535ceb96c3fcf656ba2.tar.bz2
espressivo.lv2-ad5e3f22b61763eb31c61535ceb96c3fcf656ba2.tar.xz
fix some warnings.
Diffstat (limited to 'tuio2_out.c')
-rw-r--r--tuio2_out.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tuio2_out.c b/tuio2_out.c
index 7e0efcd..0e22288 100644
--- a/tuio2_out.c
+++ b/tuio2_out.c
@@ -200,7 +200,6 @@ static inline LV2_Atom_Forge_Ref
_tuio2_2d(plughandle_t *handle, int64_t from, int64_t to)
{
LV2_Atom_Forge_Frame bndl_frame [2];
- LV2_Atom_Forge_Frame msg_frame [2];
LV2_Atom_Forge_Ref ref;
uint64_t ttag0 = 1ULL; // immediate
@@ -310,7 +309,6 @@ _del(void *data, int64_t frames,
xpress_uuid_t uuid, void *target)
{
plughandle_t *handle = data;
- targetI_t *src = target;
_upd(handle, frames);
@@ -437,7 +435,10 @@ cleanup(LV2_Handle instance)
plughandle_t *handle = instance;
if(handle)
+ {
+ xpress_deinit(&handle->xpressI);
free(handle);
+ }
}
static LV2_State_Status