From 4497c7eee632fc8763cfd2976a3a7f07ee467386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Mon, 25 Jul 2022 15:07:52 +0200 Subject: [PATCH] Bytecode MEX: bugfix in error message printing Class Evaluate had data members with the same name as members of ErrorMsg (which it derives from). In practice, this means that the data members from ErrorMsg could be unitialized when displaying error messages. (cherry picked from commit a8351130f1f4e3e299488b387fd7bb62720581f4) --- mex/sources/bytecode/Evaluate.hh | 1 - 1 file changed, 1 deletion(-) diff --git a/mex/sources/bytecode/Evaluate.hh b/mex/sources/bytecode/Evaluate.hh index c498dff28c..3341979250 100644 --- a/mex/sources/bytecode/Evaluate.hh +++ b/mex/sources/bytecode/Evaluate.hh @@ -32,7 +32,6 @@ class Evaluate : public ErrorMsg { private: - unsigned int EQN_dvar1, EQN_dvar2, EQN_dvar3; int EQN_lag1, EQN_lag2, EQN_lag3; protected: mxArray *GlobalTemporaryTerms; -- GitLab