mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Fixed various VS warnings
This commit is contained in:
parent
85572b05e5
commit
84ffe04075
8 changed files with 14 additions and 14 deletions
|
@ -112,7 +112,7 @@ bool compare_signals(RTLIL::SigBit &s1, RTLIL::SigBit &s2, SigPool ®s, SigPoo
|
|||
if (regs.check_any(s1) != regs.check_any(s2))
|
||||
return regs.check_any(s2);
|
||||
if (direct_wires.count(w1) != direct_wires.count(w2))
|
||||
return direct_wires.count(w2);
|
||||
return direct_wires.count(w2) != 0;
|
||||
if (conns.check_any(s1) != conns.check_any(s2))
|
||||
return conns.check_any(s2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue