[GRASS-git] [OSGeo/grass] 695e55: d.histogram: Initialize range_dmin and range_dmax ...

ShubhamDesai noreply at github.com
Fri Jun 28 12:44:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 695e550164dfe8cd35ee77aa87174bd526a9be0c
      https://github.com/OSGeo/grass/commit/695e550164dfe8cd35ee77aa87174bd526a9be0c
  Author: ShubhamDesai <42180509+ShubhamDesai at users.noreply.github.com>
  Date:   2024-06-28 (Fri, 28 Jun 2024)

  Changed paths:
    M display/d.histogram/bar.c

  Log Message:
  -----------
  d.histogram: Initialize range_dmin and range_dmax to fix uninitialize value warnings in bar.c (#3923)

The change satisfies the warning and does not change the behavior. The initial values (garbage or 0) are actually not used. `is_fp` conditions are used to set the values and drive their use (so that the initial values are not used).



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