diff --git a/src/page.h b/src/page.h index f11a0c2..d29b377 100644 --- a/src/page.h +++ b/src/page.h @@ -2026,12 +2026,10 @@ namespace xmreg { {"key_imgs" , mstch::array{}} }; - unique_ptr mylmdb; if (bf::is_directory(lmdb2_path)) { - mylmdb = make_unique(lmdb2_path); } else @@ -2040,8 +2038,6 @@ namespace xmreg { } - - size_t no_key_images = (decoded_raw_data.size() - header_lenght) / record_lenght; //vector> signed_key_images; @@ -2049,7 +2045,6 @@ namespace xmreg { mstch::array& key_imgs_ctx = boost::get(context["key_imgs"]); - for (size_t n = 0; n < no_key_images; ++n) { const char* record_ptr = decoded_raw_data.data() + header_lenght + n * record_lenght;