diff options
Diffstat (limited to 'src/lib/netlist/prg/nltool.cpp')
-rw-r--r-- | src/lib/netlist/prg/nltool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/netlist/prg/nltool.cpp b/src/lib/netlist/prg/nltool.cpp index fe4cca62572..62a8af91b5a 100644 --- a/src/lib/netlist/prg/nltool.cpp +++ b/src/lib/netlist/prg/nltool.cpp @@ -91,13 +91,13 @@ class netlist_tool_t : public netlist::netlist_t public: netlist_tool_t(const pstring &aname) - : netlist::netlist_t(aname), m_opts(NULL), m_setup(NULL) + : netlist::netlist_t(aname), m_opts(nullptr), m_setup(nullptr) { } ~netlist_tool_t() { - if (m_setup != NULL) + if (m_setup != nullptr) pfree(m_setup); }; @@ -165,7 +165,7 @@ void usage(tool_options_t &opts) struct input_t { input_t() - : m_param(NULL), m_value(0.0) + : m_param(nullptr), m_value(0.0) { } input_t(netlist::netlist_t *netlist, const pstring &line) |