commit | a0ccc7e5fae124d6fb43f77bf1f0e7bb12c176f9 | [log] [tgz] |
---|---|---|
author | Kevin Wojniak <kainjow@users.noreply.github.com> | Sun Dec 12 13:12:18 2021 -0800 |
committer | Jens Geyer <Jens-G@users.noreply.github.com> | Sat Mar 05 09:58:27 2022 +0100 |
tree | 7d0691e42c390d956763021710fd76c2b00f2bd3 | |
parent | 7ce2216e3601252c46ae4a617e0630c06dc5b083 [diff] |
init gen_enum_ to false
diff --git a/compiler/cpp/src/thrift/generate/t_py_generator.cc b/compiler/cpp/src/thrift/generate/t_py_generator.cc index af5821b..164365b 100644 --- a/compiler/cpp/src/thrift/generate/t_py_generator.cc +++ b/compiler/cpp/src/thrift/generate/t_py_generator.cc
@@ -297,7 +297,7 @@ * True if we should generate new-style classes. */ bool gen_newstyle_; - bool gen_enum_; + bool gen_enum_{false}; /** * True if we should generate dynamic style classes.