github / github/codeql

LGTM.com - false positive: 'Function create should return a value of type fix but does not return a value here'

Aberta
#8,487 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

The message says '_Function create should return a value of type fix but does not return a value here_' for a function with one return statement. The problem is probably related to the `constexpr` specifier.

[**URL to the alert on the project page on LGTM.com**](https://lgtm.com/projects/g/oknenavin/cxon/snapshot/8ba66ffc4cf9241e1d11e76a8e66201242e9609b/files/src/cxon/lang/common/allocator.hxx?sort=name&dir=ASC&mode=heatmap#x2a70d465bca48255: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.