From c96a43b4520c4312def7c110dfebe66a31eaf6f0 Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Wed, 22 Apr 2020 22:25:35 +0100 Subject: [PATCH] Fix unused variable in VL_READMEM_N (#2274) --- include/verilated.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/include/verilated.cpp b/include/verilated.cpp index 43fa648c9..490c0d501 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -1901,7 +1901,6 @@ void VL_READMEM_N(bool hex, // Hex format, else binary QData start, // First array row address to read QData end // Last row address to read ) VL_MT_SAFE { - QData addr_max = array_lsb + depth - 1; if (start < static_cast(array_lsb)) start = array_lsb; VlReadMem rmem(hex, bits, filename, start, end);