github / github/codeql

LGTM.com - false positive - unused static function

Aberta
#10,442 1 comentário 0 reações 0 responsáveis Ver no GitHub
C++ false-positive
Linguagem predominante
CodeQL
Estrelas
10.1k
Forks
2.1k
Merge médio
2d 15h
PRs com merge (30d)
141

Descrição

**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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.