mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-14 09:56:16 +00:00
Fixed gcc 7.2 "statement will never be executed" warning
This commit is contained in:
parent
6c00e064e2
commit
e4f0218907
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ void ILANG_BACKEND::dump_proc_sync(std::ostream &f, std::string indent, const RT
|
||||||
{
|
{
|
||||||
f << stringf("%s" "sync ", indent.c_str());
|
f << stringf("%s" "sync ", indent.c_str());
|
||||||
switch (sy->type) {
|
switch (sy->type) {
|
||||||
if (0) case RTLIL::ST0: f << stringf("low ");
|
case RTLIL::ST0: f << stringf("low ");
|
||||||
if (0) case RTLIL::ST1: f << stringf("high ");
|
if (0) case RTLIL::ST1: f << stringf("high ");
|
||||||
if (0) case RTLIL::STp: f << stringf("posedge ");
|
if (0) case RTLIL::STp: f << stringf("posedge ");
|
||||||
if (0) case RTLIL::STn: f << stringf("negedge ");
|
if (0) case RTLIL::STn: f << stringf("negedge ");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue