diff --git a/src/tools/imgtool/imgtool.cpp b/src/tools/imgtool/imgtool.cpp index 25b116c86e3..04bc483c3ab 100644 --- a/src/tools/imgtool/imgtool.cpp +++ b/src/tools/imgtool/imgtool.cpp @@ -549,7 +549,7 @@ UINT64 imgtool::image::rand() imgtool::partition::partition(imgtool::image &image, imgtool_class &imgclass, int partition_index, UINT64 base_block, UINT64 block_count) : m_image(image) - , m_partition_index(partition_index) + //, m_partition_index(partition_index) , m_base_block(base_block) , m_block_count(block_count) , m_imgclass(imgclass) diff --git a/src/tools/imgtool/imgtool.h b/src/tools/imgtool/imgtool.h index 3d6e9a675eb..d03122c5819 100644 --- a/src/tools/imgtool/imgtool.h +++ b/src/tools/imgtool/imgtool.h @@ -187,12 +187,11 @@ namespace imgtool private: imgtool::image &m_image; - int m_partition_index; + //int m_partition_index; UINT64 m_base_block; UINT64 m_block_count; imgtool_class m_imgclass; - size_t m_partition_extra_bytes; size_t m_directory_extra_bytes; char m_path_separator;