diff --git a/elaborate.cc b/elaborate.cc index a974bf988..61e224d00 100644 --- a/elaborate.cc +++ b/elaborate.cc @@ -2453,7 +2453,7 @@ NetProc* PCallTask::elaborate_sys(Design*des, NetScope*scope) const // to annotate, and the user is intending to turn the behavior // off anyhow, so replace the system task invocation with a no-op. if (gn_specify_blocks_flag == false - & peek_tail_name(path_) == "$sdf_annotate") { + && peek_tail_name(path_) == "$sdf_annotate") { NetBlock*noop = new NetBlock(NetBlock::SEQU, scope); noop->set_line(*this); diff --git a/vpi/vcd_priv.c b/vpi/vcd_priv.c index 79fd556ff..4418dbb49 100644 --- a/vpi/vcd_priv.c +++ b/vpi/vcd_priv.c @@ -207,7 +207,7 @@ void nexus_ident_delete() if (vcd_ids == 0) return; - for (idx = 0 ; idx < 256; idx = idx += 1) { + for (idx = 0 ; idx < 256; idx++) { struct vcd_id_s *cur, *tmp; for (cur = vcd_ids[idx]; cur; cur = tmp) { tmp = cur->next;