diff options
author | David Robillard <d@drobilla.net> | 2016-07-07 23:41:25 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-07 23:41:25 -0400 |
commit | 26a2c3af0f244fa71ca19d7eff77eaff98914e6c (patch) | |
tree | 3f5daa8266f4aa543e8672057c304a5281bace91 | |
parent | 4a1e47eb6ff69c2685feca73ba19700a99736b59 (diff) | |
download | lilv-26a2c3af0f244fa71ca19d7eff77eaff98914e6c.tar.gz lilv-26a2c3af0f244fa71ca19d7eff77eaff98914e6c.tar.bz2 lilv-26a2c3af0f244fa71ca19d7eff77eaff98914e6c.zip |
Remove unused variable
-rw-r--r-- | src/node.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -24,7 +24,6 @@ static void lilv_node_set_numerics_from_string(LilvNode* val) { const char* str = (const char*)sord_node_get_string(val->node); - char* endptr; switch (val->type) { case LILV_VALUE_URI: @@ -33,10 +32,10 @@ lilv_node_set_numerics_from_string(LilvNode* val) case LILV_VALUE_BLOB: break; case LILV_VALUE_INT: - val->val.int_val = strtol(str, &endptr, 10); + val->val.int_val = strtol(str, NULL, 10); break; case LILV_VALUE_FLOAT: - val->val.float_val = serd_strtod(str, &endptr); + val->val.float_val = serd_strtod(str, NULL); break; case LILV_VALUE_BOOL: val->val.bool_val = !strcmp(str, "true"); |