mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Fixed some visual studio warnings
This commit is contained in:
parent
6f1d694171
commit
bcc873b805
8 changed files with 10 additions and 10 deletions
|
@ -180,8 +180,8 @@ struct ModIndex : public RTLIL::Monitor
|
|||
{
|
||||
RTLIL::SigBit lhs = sigmap(sigsig.first[i]);
|
||||
RTLIL::SigBit rhs = sigmap(sigsig.second[i]);
|
||||
bool has_lhs = database.count(lhs);
|
||||
bool has_rhs = database.count(rhs);
|
||||
bool has_lhs = database.count(lhs) != 0;
|
||||
bool has_rhs = database.count(rhs) != 0;
|
||||
|
||||
if (!has_lhs && !has_rhs) {
|
||||
sigmap.add(lhs, rhs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue