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

Commit 5e8e1858 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "[ALPS07916456] Fix coverity error" into main

parents 31beac83 aa11d6a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -328,7 +328,7 @@ static const enh_esco_params_t default_esco_parameters[ESCO_NUM_CODECS] = {
     .retransmission_effort = ESCO_RETRANSMISSION_QUALITY}};

enh_esco_params_t esco_parameters_for_codec(esco_codec_t codec, bool offload) {
  CHECK(codec >= 0) << "codec index " << (int)codec << "< 0";
  CHECK((int)codec >= 0) << "codec index " << (int)codec << "< 0";
  CHECK(codec < ESCO_NUM_CODECS)
      << "codec index " << (int)codec << " > " << ESCO_NUM_CODECS;