Fix gcc compiler warning
authorClifford Wolf <clifford@clifford.at>
Wed, 5 Apr 2017 09:21:06 +0000 (11:21 +0200)
committerClifford Wolf <clifford@clifford.at>
Wed, 5 Apr 2017 09:21:06 +0000 (11:21 +0200)
passes/cmds/chformal.cc

index daed803547a26bff62cc1aca25181e6720306b33..a8c1fef85a56576672cb7e221fb4597a5fc2e416 100644 (file)
@@ -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++)