diff options
author | David Robillard <d@drobilla.net> | 2024-09-29 19:18:56 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-12 11:10:39 -0400 |
commit | d62d74fab2bd221e349b1a60dcc25e2e20904d70 (patch) | |
tree | f56a473c56f3fd1e6aa425cecffb3c222b27c606 | |
parent | b93cf5147d5c63f563812990e491cd6ce61a87c4 (diff) | |
download | jalv-d62d74fab2bd221e349b1a60dcc25e2e20904d70.tar.gz jalv-d62d74fab2bd221e349b1a60dcc25e2e20904d70.tar.bz2 jalv-d62d74fab2bd221e349b1a60dcc25e2e20904d70.zip |
Remove unused preprocessor symbols
-rw-r--r-- | meson/suppressions/meson.build | 2 | ||||
-rw-r--r-- | src/jalv.c | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index 5885389..7f70ee1 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -34,7 +34,6 @@ if is_variable('cc') '-Wno-switch-default', '-Wno-switch-enum', '-Wno-unsafe-buffer-usage', - '-Wno-unused-macros', ] if not meson.is_cross_build() @@ -80,7 +79,6 @@ if is_variable('cc') '-Wno-switch-enum', '-Wno-unsuffixed-float-constants', '-Wno-unused-const-variable', - '-Wno-unused-macros', ] endif @@ -65,9 +65,6 @@ #include <string.h> #include <sys/stat.h> -#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#" -#define NS_XSD "http://www.w3.org/2001/XMLSchema#" - #ifndef MIN # define MIN(a, b) (((a) < (b)) ? (a) : (b)) #endif @@ -116,8 +113,6 @@ unmap_uri(LV2_URID_Unmap_Handle handle, LV2_URID urid) return uri; } -#define NS_EXT "http://lv2plug.in/ns/ext/" - /// These features have no data static const LV2_Feature static_features[] = { {LV2_STATE__loadDefaultState, NULL}, @@ -984,7 +979,7 @@ jalv_init_env(SerdEnv* const env) serd_env_set_prefix_from_strings( env, (const uint8_t*)"time", (const uint8_t*)LV2_TIME_PREFIX); serd_env_set_prefix_from_strings( - env, (const uint8_t*)"xsd", (const uint8_t*)NS_XSD); + env, (const uint8_t*)"xsd", (const uint8_t*)LILV_NS_XSD); } static void |