summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2018-05-01 22:52:25 -0400
committer arbee <rb6502@users.noreply.github.com>2018-05-01 22:52:25 -0400
commit9adf583c472b392c3daf2313893d1e8f26124458 (patch)
treec5e8f273bd86fb49c953da5c9b32d63236e898a9 /src/lib
parent4b5c42e13edaf5525b2e79ae6a5c3a58d0a40972 (diff)
Final GCC 8 batch for tonight (nw)
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/netlist/devices/nlid_system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/netlist/devices/nlid_system.h b/src/lib/netlist/devices/nlid_system.h
index a5574706569..db324a85834 100644
--- a/src/lib/netlist/devices/nlid_system.h
+++ b/src/lib/netlist/devices/nlid_system.h
@@ -128,6 +128,10 @@ namespace netlist
m_off = netlist_time::from_double(m_offset());
unsigned long pati[32];
+ for (int pI = 0; pI < 32; pI++)
+ {
+ pati[pI] = 0;
+ }
m_size = static_cast<std::uint8_t>(pat.size());
unsigned long total = 0;
for (unsigned i=0; i<m_size; i++)