diff options
author | David Robillard <d@drobilla.net> | 2020-12-16 11:05:24 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-16 11:06:32 +0100 |
commit | b24584980534acef1b10e4bf8182fe347465c70e (patch) | |
tree | 13f85228522535581e3a0dc61fccc27745526308 /sord/sordmm.hpp | |
parent | 59b01120d460bf10e95c5f1319fd2ad1a8eb7ab7 (diff) | |
download | sord-b24584980534acef1b10e4bf8182fe347465c70e.tar.gz sord-b24584980534acef1b10e4bf8182fe347465c70e.tar.bz2 sord-b24584980534acef1b10e4bf8182fe347465c70e.zip |
C++: Intialize variable
Diffstat (limited to 'sord/sordmm.hpp')
-rw-r--r-- | sord/sordmm.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp index 80bfd62..4cfe372 100644 --- a/sord/sordmm.hpp +++ b/sord/sordmm.hpp @@ -403,7 +403,7 @@ inline int Node::to_int() const { assert(is_int()); - char* endptr; + char* endptr = nullptr; return strtol(reinterpret_cast<const char*>(sord_node_get_string(_c_obj)), &endptr, 10); |