mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-23 00:41:36 +00:00
Potential fix for pull request finding 'CodeQL / Comparison between inconvertible types'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
3525f3aca2
commit
bc7a9c3426
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ function findFuncDeclarator(node: SyntaxNode): SyntaxNode | null {
|
|||
return null;
|
||||
}
|
||||
// Unwrap pointer_declarator
|
||||
while (decl !== null && decl.type === 'pointer_declarator') {
|
||||
while (decl.type === 'pointer_declarator') {
|
||||
const next = decl.childForFieldName('declarator');
|
||||
if (next === null) break;
|
||||
decl = next;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue