aboutsummaryrefslogtreecommitdiffstats
path: root/backends/ilang
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-02-03 14:31:47 +0100
committerClifford Wolf <clifford@clifford.at>2018-02-03 14:31:47 +0100
commite4f021890718d88973ea22764da23aa935e440fb (patch)
treeea55f8a76658b6aa970a7449a9065372bc6a41ed /backends/ilang
parent6c00e064e2024b7b41d3c32ed4cf7f0f6857506b (diff)
downloadyosys-e4f021890718d88973ea22764da23aa935e440fb.tar.gz
yosys-e4f021890718d88973ea22764da23aa935e440fb.tar.bz2
yosys-e4f021890718d88973ea22764da23aa935e440fb.zip
Fixed gcc 7.2 "statement will never be executed" warning
Diffstat (limited to 'backends/ilang')
-rw-r--r--backends/ilang/ilang_backend.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/ilang/ilang_backend.cc b/backends/ilang/ilang_backend.cc
index 16d1a97f5..1f7f12361 100644
--- a/backends/ilang/ilang_backend.cc
+++ b/backends/ilang/ilang_backend.cc
@@ -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());
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::STp: f << stringf("posedge ");
if (0) case RTLIL::STn: f << stringf("negedge ");