[LV2] [PATCH] eg-fifths: Remove unused URIs carried over from sampler.

Geoff Hill geoff at geoffhill.org
Wed Jun 24 13:08:16 PDT 2015


Seems like these strings and fields aren't used anywhere. My guess is this
file was copied from eg-sampler.lv2 and these entries were never removed.

---
 plugins/eg-fifths.lv2/uris.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/plugins/eg-fifths.lv2/uris.h b/plugins/eg-fifths.lv2/uris.h
index e174fb4..d2b4a4f 100644
--- a/plugins/eg-fifths.lv2/uris.h
+++ b/plugins/eg-fifths.lv2/uris.h
@@ -23,9 +23,6 @@
 #include "lv2/lv2plug.in/ns/ext/state/state.h"
 
 #define EG_FIFTHS_URI          "http://lv2plug.in/plugins/eg-fifths"
-#define EG_FIFTHS__sample      EG_FIFTHS_URI "#sample"
-#define EG_FIFTHS__applySample EG_FIFTHS_URI "#applySample"
-#define EG_FIFTHS__freeSample  EG_FIFTHS_URI "#freeSample"
 
 typedef struct {
 	LV2_URID atom_Blank;
@@ -34,9 +31,6 @@ typedef struct {
 	LV2_URID atom_Sequence;
 	LV2_URID atom_URID;
 	LV2_URID atom_eventTransfer;
-	LV2_URID eg_applySample;
-	LV2_URID eg_sample;
-	LV2_URID eg_freeSample;
 	LV2_URID midi_Event;
 	LV2_URID patch_Set;
 	LV2_URID patch_property;
@@ -52,9 +46,6 @@ map_fifths_uris(LV2_URID_Map* map, FifthsURIs* uris)
 	uris->atom_Sequence      = map->map(map->handle, LV2_ATOM__Sequence);
 	uris->atom_URID          = map->map(map->handle, LV2_ATOM__URID);
 	uris->atom_eventTransfer = map->map(map->handle, LV2_ATOM__eventTransfer);
-	uris->eg_applySample     = map->map(map->handle, EG_FIFTHS__applySample);
-	uris->eg_freeSample      = map->map(map->handle, EG_FIFTHS__freeSample);
-	uris->eg_sample          = map->map(map->handle, EG_FIFTHS__sample);
 	uris->midi_Event         = map->map(map->handle, LV2_MIDI__MidiEvent);
 	uris->patch_Set          = map->map(map->handle, LV2_PATCH__Set);
 	uris->patch_property     = map->map(map->handle, LV2_PATCH__property);
-- 
2.4.2



More information about the Devel mailing list