diff --git a/nasal_err.h b/nasal_err.h index d935e6e..ffe0ec1 100644 --- a/nasal_err.h +++ b/nasal_err.h @@ -45,6 +45,7 @@ class nasal_err:public file_line private: uint32_t error; public: + nasal_err():error(0){} void err(const char* stage,const std::string& info) { ++error;