diff options
author | David Robillard <d@drobilla.net> | 2011-04-29 02:13:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-29 02:13:19 +0000 |
commit | aa01c0ae4bef2811b0df59eafe26bfb25b260612 (patch) | |
tree | c07c9f22b888a9f8f6cbe8126eaae35a245301a6 /src | |
parent | 95ab9c9d236ecc524d98a6a08cd5bae9667265fb (diff) | |
download | lilv-aa01c0ae4bef2811b0df59eafe26bfb25b260612.tar.gz lilv-aa01c0ae4bef2811b0df59eafe26bfb25b260612.tar.bz2 lilv-aa01c0ae4bef2811b0df59eafe26bfb25b260612.zip |
Remove unused value type enumeration value.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3224 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/lilv_internal.h | 1 | ||||
-rw-r--r-- | src/value.c | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h index 841dbba..64cb04a 100644 --- a/src/lilv_internal.h +++ b/src/lilv_internal.h @@ -284,7 +284,6 @@ void lilv_ui_free(LilvUI* ui); typedef enum _LilvValueType { LILV_VALUE_URI, - LILV_VALUE_QNAME_UNUSED, ///< FIXME: APIBREAK: remove LILV_VALUE_STRING, LILV_VALUE_INT, LILV_VALUE_FLOAT, diff --git a/src/value.c b/src/value.c index 235a385..d0250d5 100644 --- a/src/value.c +++ b/src/value.c @@ -34,7 +34,6 @@ lilv_value_set_numerics_from_string(LilvValue* val) switch (val->type) { case LILV_VALUE_URI: case LILV_VALUE_BLANK: - case LILV_VALUE_QNAME_UNUSED: case LILV_VALUE_STRING: break; case LILV_VALUE_INT: @@ -77,7 +76,6 @@ lilv_new(LilvWorld* world, LilvValueType type, const char* str) assert(val->val.uri_val); val->str_val = (char*)sord_node_get_string(val->val.uri_val); break; - case LILV_VALUE_QNAME_UNUSED: case LILV_VALUE_BLANK: case LILV_VALUE_STRING: case LILV_VALUE_INT: @@ -238,7 +236,6 @@ lilv_value_equals(const LilvValue* value, const LilvValue* other) return sord_node_equals(value->val.uri_val, other->val.uri_val); case LILV_VALUE_BLANK: case LILV_VALUE_STRING: - case LILV_VALUE_QNAME_UNUSED: return !strcmp(value->str_val, other->str_val); case LILV_VALUE_INT: return (value->val.int_val == other->val.int_val); @@ -271,7 +268,6 @@ lilv_value_get_turtle_token(const LilvValue* value) snprintf(result, len, "_:%s", value->str_val); break; case LILV_VALUE_STRING: - case LILV_VALUE_QNAME_UNUSED: case LILV_VALUE_BOOL: result = lilv_strdup(value->str_val); break; |