[GRASS-git] [OSGeo/grass] 63107d: v.distance: initialize variable; remove unused var...

Nicklas Larsson noreply at github.com
Fri Feb 7 04:38:58 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 63107d245d1edf599767fed23e14e02945126f7d
      https://github.com/OSGeo/grass/commit/63107d245d1edf599767fed23e14e02945126f7d
  Author: Nicklas Larsson <n_larsson at yahoo.com>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

  Changed paths:
    M vector/v.distance/distance.c
    M vector/v.distance/local_proto.h
    M vector/v.distance/main.c
    M vector/v.distance/print.c

  Log Message:
  -----------
  v.distance: initialize variable; remove unused variables (#5043)

Addresses issues reported by Coverity Scan and scan-build.
Unused variables are only commented out (keep them as reminders just in case)

In addition; a list of macros is converted to enum, for better handling of code by compilers.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list