diff options
author | Clifford Wolf <clifford@clifford.at> | 2017-04-05 11:21:06 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2017-04-05 11:21:06 +0200 |
commit | dee4ec1661a2c2d7d6a4a47f7da922b870bbace8 (patch) | |
tree | 845714db4bc314755b5909476c420990ddd4fadf /passes/cmds | |
parent | b8d7f57f61fb45b4b227e399561bf8bcce3db550 (diff) | |
download | yosys-dee4ec1661a2c2d7d6a4a47f7da922b870bbace8.tar.gz yosys-dee4ec1661a2c2d7d6a4a47f7da922b870bbace8.tar.bz2 yosys-dee4ec1661a2c2d7d6a4a47f7da922b870bbace8.zip |
Fix gcc compiler warning
Diffstat (limited to 'passes/cmds')
-rw-r--r-- | passes/cmds/chformal.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/chformal.cc b/passes/cmds/chformal.cc index daed80354..a8c1fef85 100644 --- a/passes/cmds/chformal.cc +++ b/passes/cmds/chformal.cc @@ -71,7 +71,7 @@ struct ChformalPass : public Pass { pool<IdString> constr_types; char mode = 0; - int mode_arg; + int mode_arg = 0; size_t argidx; for (argidx = 1; argidx < args.size(); argidx++) |