Skip to content

Comments

r.viewshed: fix CodeQL warnings#2649

Merged
nilason merged 1 commit intoOSGeo:mainfrom
nilason:r-viewshed_fix_codeql
Jan 6, 2023
Merged

r.viewshed: fix CodeQL warnings#2649
nilason merged 1 commit intoOSGeo:mainfrom
nilason:r-viewshed_fix_codeql

Conversation

@nilason
Copy link
Contributor

@nilason nilason commented Nov 14, 2022

Addresses CodeQL warnings on "comparison of narrow type with wide type in loop condition" (dimensionType, which is typedef'd to unsigned short int, is compared to int).

These were previously known CodeQL warnings, but some were triggered again by #2648.

@nilason nilason added enhancement New feature or request C++ Related code is in C++ labels Nov 14, 2022
@nilason nilason added this to the 8.3.0 milestone Nov 14, 2022
Warnings on comparison of narrow type with wide type in loop condition.
@nilason nilason force-pushed the r-viewshed_fix_codeql branch from 4bf5958 to 4f842f8 Compare December 23, 2022 13:10
@nilason nilason merged commit 118a9d7 into OSGeo:main Jan 6, 2023
@nilason nilason deleted the r-viewshed_fix_codeql branch January 6, 2023 18:55
neteler pushed a commit to nilason/grass that referenced this pull request Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ Related code is in C++ enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant