diff --git a/include/retdec/bin2llvmir/providers/names.h b/include/retdec/bin2llvmir/providers/names.h index a06491c45..449285fd0 100644 --- a/include/retdec/bin2llvmir/providers/names.h +++ b/include/retdec/bin2llvmir/providers/names.h @@ -178,11 +178,9 @@ class NameContainer using ImportOrdMap = std::map; private: - llvm::Module* _module = nullptr; Config* _config = nullptr; DebugFormat* _debug = nullptr; FileImage* _image = nullptr; - demangler::CDemangler* _demangler = nullptr; Lti* _lti = nullptr; std::map _data; diff --git a/src/bin2llvmir/providers/names.cpp b/src/bin2llvmir/providers/names.cpp index 188679e69..d15dd3971 100644 --- a/src/bin2llvmir/providers/names.cpp +++ b/src/bin2llvmir/providers/names.cpp @@ -262,18 +262,16 @@ bool Names::empty() const // NameContainer::NameContainer( - llvm::Module* m, + llvm::Module*, Config* c, DebugFormat* d, FileImage* i, - demangler::CDemangler* dm, + demangler::CDemangler*, Lti* lti) : - _module(m), _config(c), _debug(d), _image(i), - _demangler(dm), _lti(lti) { initFromConfig();