Skip to content

CodeQL

CodeQL #422

Triggered via schedule January 20, 2025 02:21
Status Success
Total duration 4m 57s
Artifacts

codeql.yml

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

Annotations

1 error and 11 warnings
Analyze (csharp)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
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): 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): 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)
Analyze (csharp): test/DotRecast.Core.Test/RcRentedArrayTest.cs#L30
The variable 'rentedArray' is declared but never used