summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-07 23:41:53 -0400
committerDavid Robillard <d@drobilla.net>2016-07-07 23:41:53 -0400
commitdc589342b3e46c1abcb33ee8e37c9da8be041e5d (patch)
tree99366e95dfff838bbe94eedddf77e61428b1fd6d /sord
parent2843ab1de415ccaf9be291439ca04690c1ed073f (diff)
downloadsord-dc589342b3e46c1abcb33ee8e37c9da8be041e5d.tar.gz
sord-dc589342b3e46c1abcb33ee8e37c9da8be041e5d.tar.bz2
sord-dc589342b3e46c1abcb33ee8e37c9da8be041e5d.zip
Remove unused variable
Diffstat (limited to 'sord')
-rw-r--r--sord/sordmm.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index 10e2a68..bc0c456 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -378,8 +378,7 @@ inline float
Node::to_float() const
{
assert(is_float());
- char* endptr;
- return serd_strtod((const char*)sord_node_get_string(_c_obj), &endptr);
+ return serd_strtod((const char*)sord_node_get_string(_c_obj), NULL);
}
inline bool