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

Commit 127809ee authored by Chienyuan's avatar Chienyuan Committed by android-build-merger
Browse files

PDL: workaround for end_index unused am: 0e1fa4b2 am: 204c6673

am: 9f69ef91

Change-Id: I7ede327de23dc43a8d7ea0254150b17307466047
parents 979fba84 9f69ef91
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) {