[GRASS-user] Warnings installing some r.stream addons

Hello dear list

I’m trying to install all the r.stream addons, but some of them are printing warnings, I’m using grass 7.0.3 from the ubuntugis PPA in Ubuntu 14.04.3

The output is:

Fetching <r.stream.segment> from GRASS-Addons SVN repository (be
patient)…
Compiling…
stream_vector.c: In function ‘create_sector_vector’:
stream_vector.c:44:9: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
c = NC(d);
^
stream_vector.c:43:9: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
r = NR(d);
^
stream_vector.c: In function ‘create_segment_vector’:
stream_vector.c:256:5: warning: ‘c’ may be used uninitialized in this function [-Wmaybe-uninitialized]
c = NC(d);
^
stream_vector.c:255:5: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
r = NR(d);
^
Installing…
Updating addons metadata file…
Installation of <r.stream.segment> successfully finished

···

César Augusto Ramírez Franco
Laboratorio de Sistemas Complejos Naturales
Escuela de Geociencias - Facultad de Ciencias
Universidad Nacional de Colombia - Sede Medellín
Teléfono: (57-4) 430 9369 - 300 459 6085

http://labscn-unalmed.github.io/

On Mon, Feb 1, 2016 at 11:33 AM, César Augusto Ramírez Franco <
caesarivs@gmail.com> wrote:

Should this warnings be ignored? Or should they be taken into account in
some way when using them?

Likely, you can ignore them. However, in general they should be fixed (in
code) to make the code slightly more robust.