[GRASS-git] [OSGeo/grass] 206b69: Imagery library: resolve cppcheck warnings (#3356)

Sharan Jamanani noreply at github.com
Sun Jan 14 00:49:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 206b69e2a1f5afc4820ccb82fc7bc50f9668334e
      https://github.com/OSGeo/grass/commit/206b69e2a1f5afc4820ccb82fc7bc50f9668334e
  Author: Sharan Jamanani <54804304+Sharansrj567 at users.noreply.github.com>
  Date:   2024-01-14 (Sun, 14 Jan 2024)

  Changed paths:
    M lib/imagery/group.c

  Log Message:
  -----------
  Imagery library: resolve cppcheck warnings (#3356)

* fix: correct copy/paste error in color assignment logic of imagery library

* refactor: add limits for fscanf to avoid crashing for large string inputs

* refactor: reduce varible scope to address scope warning




More information about the grass-commit mailing list