From 2edf9516a5442149fcadd241f8cb875c79de6841 Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Sun, 4 Feb 2018 20:17:07 +0300
Subject: this code isn't needed at all

---
 plugins/Dbx_mdbx/src/dbmodulechain.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'plugins')

diff --git a/plugins/Dbx_mdbx/src/dbmodulechain.cpp b/plugins/Dbx_mdbx/src/dbmodulechain.cpp
index e25c85a0b3..c133426350 100644
--- a/plugins/Dbx_mdbx/src/dbmodulechain.cpp
+++ b/plugins/Dbx_mdbx/src/dbmodulechain.cpp
@@ -28,8 +28,7 @@ int CDbxMDBX::InitModules()
 	txn_ptr_ro trnlck(m_txn_ro);
 	cursor_ptr_ro cursor(m_curModules);
 	
-	uint32_t iHash = 0;
-	MDBX_val key = { &iHash, sizeof(iHash) }, data;
+	MDBX_val key, data;
 	while (mdbx_cursor_get(cursor, &key, &data, MDBX_NEXT) == MDBX_SUCCESS) {
 		uint32_t iMod = *(uint32_t*)key.iov_base;
 		const char *szMod = (const char*)data.iov_base;
-- 
cgit v1.2.3