[GRASS5] [bug #1804] (grass) r.random null handling - vbl "zero" never set

Request Tracker grass-bugs at intevation.de
Wed Apr 16 14:17:02 EDT 2003

this bug's URL: http://intevation.de/rt/webrt?serial_num=1804

Subject: r.random null handling - vbl "zero" never set

Just found this because I was borrowing pieces of r.random code in another
project.  In main() there is a variable (int) called zero which is declared
and even tested in an if statement (line 172 of main.c in my source from the
release branch), but as far as I can see it is never assigned a value. 
Probably is supposed to be set according to flag.zero, but never got done.


-------------------------------------------- Managed by Request Tracker

More information about the grass-dev mailing list