LGTM.com - false positive - unused static function
- Vorherrschende Sprache
- CodeQL
- Sterne
- 10.1k
- Forks
- 2.1k
- Ø Merge
- 2 T. 15 Std.
- Gemergte PRs (30 T.)
- 141
Beschreibung
**Description of the false positive**
The alert is "Static function IsTypeProtoCompatible is unreachable". [Help for that alert](https://lgtm.com/rules/2152580467/) indicates that it is about an unused static function.
However, that function is actually used later in the file:
https://lgtm.com/projects/g/microsoft/onnxruntime/snapshot/b7c967a8110811599816346da0294ee681c6cb74/files/onnxruntime/core/framework/kernel_registry.cc?sort=name&dir=ASC&mode=heatmap#L85
**URL to the alert on the project page on LGTM.com**
https://lgtm.com/projects/g/microsoft/onnxruntime/snapshot/b7c967a8110811599816346da0294ee681c6cb74/files/onnxruntime/core/framework/kernel_registry.cc?sort=name&dir=ASC&mode=heatmap#x35f8eff849669b65:1
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.