From 461d84fbbfa4b7ba952158912e69d2053614e090 Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Wed, 28 Nov 2018 13:30:01 +0000 Subject: [PATCH] fixed uninit variable in irdb interface Former-commit-id: 43270910227f853181efd0394ba1803c7840c893 --- libIRDB/include/core/reloc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libIRDB/include/core/reloc.hpp b/libIRDB/include/core/reloc.hpp index 514018178..0f352c19a 100644 --- a/libIRDB/include/core/reloc.hpp +++ b/libIRDB/include/core/reloc.hpp @@ -24,7 +24,7 @@ class Relocation_t : public BaseObj_t public: // create new item. - Relocation_t() : BaseObj_t(NULL), offset(0), wrt_obj(NULL) {} // new reloc w/no data + Relocation_t() : BaseObj_t(NULL), offset(0), wrt_obj(NULL), addend(0) {} // new reloc w/no data // a reloc read from the DB Relocation_t(db_id_t reloc_id, int _offset, std::string _type, BaseObj_t* p_wrt_obj=NULL, int32_t p_addend=0) : -- GitLab