diff options
Diffstat (limited to 'CompilerDriver')
| -rw-r--r-- | CompilerDriver/ccplus.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CompilerDriver/ccplus.cc b/CompilerDriver/ccplus.cc index bf6df0b..4cfd9de 100644 --- a/CompilerDriver/ccplus.cc +++ b/CompilerDriver/ccplus.cc @@ -336,8 +336,8 @@ public: struct scope_type { std::vector<std::string> vals; - int reg_cnt; - int id; + int reg_cnt{ 0 }; + int id{ 0 }; bool operator==(const scope_type& typ) { return typ.id == id; } }; |
