[GRASS-git] [OSGeo/grass] 9867dc: rst/interpfl lib: change devi arg to bool (#1271)

Nicklas Larsson noreply at github.com
Sun Jan 26 02:37:03 PST 2025


  Branch: refs/heads/releasebranch_7_8
  Home:   https://github.com/OSGeo/grass
  Commit: 9867dc917b08189f5df79c7ed6ad1e9f6a236c1e
      https://github.com/OSGeo/grass/commit/9867dc917b08189f5df79c7ed6ad1e9f6a236c1e
  Author: nilason <n_larsson at yahoo.com>
  Date:   2025-01-26 (Sun, 26 Jan 2025)

  Changed paths:
    M lib/rst/interp_float/init2d.c
    M lib/rst/interp_float/interpf.h
    M lib/rst/interp_float/point2d.c
    M raster/r.resamp.rst/main.c
    M vector/v.surf.rst/main.c

  Log Message:
  -----------
  rst/interpfl lib: change devi arg to bool (#1271)

Output deviation argument to IL_init_params_2d() and in the
interp_params struct, was defined as FILE*. In practice a char* of the
file path was given to the function in 'v.surf.rst/main.c' and this
pointer's only use was to check whether it was NULL or not. It was used
as a flag. This changes the argument to be a bool.

Addresses a -Wincompatible-pointer-types compiler warning.



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