Skip to content

small refactor EXPECTED_LAYERS_PER_TILE #427

small refactor EXPECTED_LAYERS_PER_TILE

small refactor EXPECTED_LAYERS_PER_TILE #427

Triggered via push January 30, 2025 05:50
Status Success
Total duration 4m 43s
Artifacts

codeql.yml

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

Annotations

1 error and 10 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): 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.Recast/RcLayers.cs#L173
Unreachable code detected
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)