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

Commit 9f69ef91 authored by Chienyuan's avatar Chienyuan Committed by android-build-merger
Browse files

PDL: workaround for end_index unused am: 0e1fa4b2

am: 204c6673

Change-Id: Iea8c15bde0562ac7f784d57f9b1c7aa8ebc21a00
parents 95206f7d 204c6673
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) {