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

Commit 8c6d6ad5 authored by Thomas Girardier's avatar Thomas Girardier Committed by Automerger Merge Worker
Browse files

Merge "Fix coverity scan issue: uninitialized scalar variable" am: 852e184c am: a83a242e

parents 00a493d1 a83a242e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -2342,7 +2342,12 @@ void bta_av_rc_disc(uint8_t disc) {
void bta_av_dereg_comp(tBTA_AV_DATA* p_data) {
  tBTA_AV_CB* p_cb = &bta_av_cb;
  tBTA_AV_SCB* p_scb;
  tBTA_UTL_COD cod;
  tBTA_UTL_COD cod = {
    .minor = BTM_COD_MINOR_UNCLASSIFIED,
    .major = BTM_COD_MAJOR_UNCLASSIFIED,
    .service = 0,
  };

  uint8_t mask;
  BT_HDR* p_buf;