Quoting Leonid Isaev (leonid.is...@jila.colorado.edu):
> gcc -Wall warns about uninitialized variables (-Wmaybe-uninitialized), and
> -Werror makes it fatal. This change allows the build to succeed by NULL'ifying
> the pointer passed to strtok_r().
>
> Note that strtok_r(3) anyway ignores a non-NU
gcc -Wall warns about uninitialized variables (-Wmaybe-uninitialized), and
-Werror makes it fatal. This change allows the build to succeed by NULL'ifying
the pointer passed to strtok_r().
Note that strtok_r(3) anyway ignores a non-NULL arg3 pointer on the 1st call
with non-NULL arg1 string.
Signe