Fix compiler warning in verific.cc

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-10-05 09:26:10 +02:00 committed by Jim Lawson
parent 3661c27acd
commit 05e1c39064
1 changed files with 2 additions and 0 deletions

View File

@ -1676,6 +1676,7 @@ YOSYS_NAMESPACE_END
PRIVATE_NAMESPACE_BEGIN PRIVATE_NAMESPACE_BEGIN
#ifdef YOSYS_ENABLE_VERIFIC
bool check_noverific_env() bool check_noverific_env()
{ {
const char *e = getenv("YOSYS_NOVERIFIC"); const char *e = getenv("YOSYS_NOVERIFIC");
@ -1685,6 +1686,7 @@ bool check_noverific_env()
return false; return false;
return true; return true;
} }
#endif
struct VerificPass : public Pass { struct VerificPass : public Pass {
VerificPass() : Pass("verific", "load Verilog and VHDL designs using Verific") { } VerificPass() : Pass("verific", "load Verilog and VHDL designs using Verific") { }