From 60394174312ae98dcd56eb8fa1c18199d512a81e Mon Sep 17 00:00:00 2001 From: Kane York Date: Thu, 23 Jul 2020 16:46:18 -0700 Subject: fix(3p/nix): fix all UninitializedObject warnings The cpptoml occurrences are ignored in CL 1419. Updates: #11 Change-Id: Ifb21c93b09c67e6b6a4c9e7089abffe7616569fd Reviewed-on: https://cl.tvl.fyi/c/depot/+/1407 Reviewed-by: glittershark Tested-by: BuildkiteCI --- third_party/nix/src/libexpr/nixexpr.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/nix/src/libexpr/nixexpr.hh b/third_party/nix/src/libexpr/nixexpr.hh index 365235377f71..7b89fb0c927e 100644 --- a/third_party/nix/src/libexpr/nixexpr.hh +++ b/third_party/nix/src/libexpr/nixexpr.hh @@ -192,7 +192,7 @@ struct ExprAttrs : Expr { Pos pos; unsigned int displ; // displacement AttrDef(Expr* e, const Pos& pos, bool inherited = false) - : inherited(inherited), e(e), pos(pos){}; + : inherited(inherited), e(e), pos(pos), displ(0){}; AttrDef(){}; }; -- cgit 1.4.1