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