Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cfba918b authored by Myles Watson's avatar Myles Watson
Browse files

PDL: Always default initialize members

For builders and structs, initialize members.

Bug: 148096951
Test: ./cert/run_cert_facade_only.sh
Change-Id: Idf8a58fac40515e931b6765e56f0c67be31695e2
parent 3bc0d062
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -241,7 +241,7 @@ void ParentDef::GenMembers(std::ostream& s) const {
  // Add the parameter list.
  for (int i = 0; i < fields_.size(); i++) {
    if (fields_[i]->GenBuilderMember(s)) {
      s << "_;";
      s << "_{};";
    }
  }
}