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

Commit 0e1fa4b2 authored by Chienyuan's avatar Chienyuan
Browse files

PDL: workaround for end_index unused

Test: build pass
Change-Id: I774eaedcfed02ead3ac7287dbcf931158e5ce11d
parent 378d9138
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ void StructField::GenGetter(std::ostream& s, Size start_offset, Size end_offset)
  }
  s << "ASSERT(was_validated_);";
  s << "size_t end_index = size();";
  s << "ASSERT(end_index > 0);";
  GenExtractor(s, start_offset, end_offset);

  if (size_ != -1) {