diff options
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; |