Skip to content

refactor(target): Remove platform specific detection/name resolution#194

Merged
gfieni merged 1 commit into
masterfrom
refactor/target-type-cleanup
Jul 7, 2026
Merged

refactor(target): Remove platform specific detection/name resolution#194
gfieni merged 1 commit into
masterfrom
refactor/target-type-cleanup

refactor(target): Remove platform specific detection/name resolution

3fc9507
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 7, 2026 in 20s

Annotations

Check warning on line 63 in src/target.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "switch" statement by "if" statements to increase readability.

See more on https://sonarcloud.io/project/issues?id=powerapi-ng_hwpc-sensor&issues=AZ88GWilyrfTyaIdUbdr&open=AZ88GWilyrfTyaIdUbdr&pullRequest=194

Check warning on line 59 in src/target.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 "target" is "struct target *".

See more on https://sonarcloud.io/project/issues?id=powerapi-ng_hwpc-sensor&issues=AZ88GWilyrfTyaIdUbdq&open=AZ88GWilyrfTyaIdUbdq&pullRequest=194