Skip to content

avdtp: delete unnecessary code

17cb79b
Select commit
Loading
Failed to load commit list.
Open

avdtp: delete unnecessary code #634

avdtp: delete unnecessary code
17cb79b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 23, 2026 in 22m 37s

Quality Gate failed

Failed conditions
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 745 in src/classic/avdtp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=bluekitchen_btstack&issues=AZ0aTA2vqzmSGmbxGkFN&open=AZ0aTA2vqzmSGmbxGkFN&pullRequest=634

Check warning on line 1568 in src/classic/avdtp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a pointer-to-const. The current type of "stream_endpoint" is "struct avdtp_stream_endpoint *".

See more on https://sonarcloud.io/project/issues?id=bluekitchen_btstack&issues=AZ0aTA2vqzmSGmbxGkFP&open=AZ0aTA2vqzmSGmbxGkFP&pullRequest=634

Check failure on line 700 in src/classic/avdtp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 26 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=bluekitchen_btstack&issues=AZ0aTA2vqzmSGmbxGkFL&open=AZ0aTA2vqzmSGmbxGkFL&pullRequest=634

Check warning on line 727 in src/classic/avdtp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Modify the macro definition so that it needs to be followed by a semicolon, or remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=bluekitchen_btstack&issues=AZ0aTA2vqzmSGmbxGkFM&open=AZ0aTA2vqzmSGmbxGkFM&pullRequest=634

Check warning on line 1554 in src/classic/avdtp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a pointer-to-const. The current type of "stream_endpoint" is "struct avdtp_stream_endpoint *".

See more on https://sonarcloud.io/project/issues?id=bluekitchen_btstack&issues=AZ0aTA2vqzmSGmbxGkFO&open=AZ0aTA2vqzmSGmbxGkFO&pullRequest=634