summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorJens Geyer <jensg@apache.org>2022-01-29 18:42:01 +0100
committerJens Geyer <Jens-G@users.noreply.github.com>2022-01-30 01:09:06 +0100
commit69b66a51f2d86746b78300fdf43dd098d6eac7cb (patch)
tree36128d47263271c161e7a7a713739cd96020db0b /compiler
parenta0cd3cfc848536210631f5f10c9019f81e45ab66 (diff)
downloadthrift-69b66a51f2d86746b78300fdf43dd098d6eac7cb.tar.gz
THRIFT-5506 C26495 variable "t_field::req_" not initialized, t_field.h:40
Compiler General Patch: Jens Geyer
Diffstat (limited to 'compiler')
-rw-r--r--compiler/cpp/src/thrift/parse/t_field.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/cpp/src/thrift/parse/t_field.h b/compiler/cpp/src/thrift/parse/t_field.h
index 4be87706d..f0a607de0 100644
--- a/compiler/cpp/src/thrift/parse/t_field.h
+++ b/compiler/cpp/src/thrift/parse/t_field.h
@@ -41,6 +41,7 @@ public:
: type_(type),
name_(name),
key_(0),
+ req_(T_OPT_IN_REQ_OUT),
value_(nullptr),
xsd_optional_(false),
xsd_nillable_(false),