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

Commit 8ed91f97 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Initialize local variable in gatts_process_read_by_type_req" into oc-mr1-dev

parents 22c20644 709e88c0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -788,7 +788,8 @@ static void gatts_process_mtu_req(tGATT_TCB& tcb, uint16_t len,
void gatts_process_read_by_type_req(tGATT_TCB& tcb, uint8_t op_code,
                                    uint16_t len, uint8_t* p_data) {
  tBT_UUID uuid;
  uint16_t s_hdl, e_hdl, err_hdl = 0;
  uint16_t s_hdl = 0, e_hdl = 0, err_hdl = 0;
  if (len < 4) android_errorWriteLog(0x534e4554, "73125709");
  tGATT_STATUS reason =
      gatts_validate_packet_format(op_code, len, p_data, &uuid, s_hdl, e_hdl);