mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
netlist: Fix clang unused variable warning.
This commit is contained in:
parent
494690081b
commit
6e2e3dab4f
File diff suppressed because it is too large
Load Diff
@ -141,6 +141,9 @@ namespace solver
|
||||
pstring fptype(fp_constants<FT>::name());
|
||||
pstring fpsuffix(fp_constants<FT>::suffix());
|
||||
|
||||
// avoid unused variable warnings
|
||||
strm("\tplib::unused_var({1});\n", "cnV");
|
||||
|
||||
for (std::size_t i = 0; i < mat.nz_num; i++)
|
||||
strm("\t{1} m_A{2}(0.0);\n", fptype, i, i);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user