Skip to content

CodeQL

CodeQL #410

Triggered via schedule December 23, 2024 02:31
Status Success
Total duration 4m 45s
Artifacts

codeql.yml

on: schedule
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Analyze (csharp)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (csharp)
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
Analyze (csharp): src/DotRecast.Core/RcThrowHelper.cs#L49
The variable 'f1' is assigned but its value is never used
Analyze (csharp): src/DotRecast.Core/RcThrowHelper.cs#L49
The variable 'f1' is assigned but its value is never used
Analyze (csharp): src/DotRecast.Core/RcThrowHelper.cs#L49
The variable 'f1' is assigned but its value is never used
Analyze (csharp): test/DotRecast.Core.Test/RcRentedArrayTest.cs#L30
The variable 'rentedArray' is declared but never used
Analyze (csharp): src/DotRecast.Recast/RcLayers.cs#L173
Unreachable code detected
Analyze (csharp): src/DotRecast.Detour/DtNavMeshQuery.cs#L1614
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
Analyze (csharp): src/DotRecast.Detour/DtNavMeshQuery.cs#L3163
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
Analyze (csharp): src/DotRecast.Detour/DtNavMeshQuery.cs#L3218
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
Analyze (csharp): src/DotRecast.Detour/DtNavMeshQuery.cs#L3255
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)
Analyze (csharp): src/DotRecast.Detour/DtNavMeshQuery.cs#L3283
Comparing a span to 'null' might be redundant, the 'null' literal will be implicitly converted to a 'Span<T>.Empty' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2265)