Compiler warning from emc_mods.c was originally fixed by Petter in #2215.
For the other warnings, I just removed the check, we could have checked for something else, but it don't seems necessary.
in nml_mod.c I changed from malloc() and strcpy() to strdup(), I also made sure the variable proc_name is initialized to 0. However, in master branch, this file was removed since it wasn't necessary or used.
Compiler warning from
emc_mods.c
was originally fixed by Petter in #2215.For the other warnings, I just removed the check, we could have checked for something else, but it don't seems necessary.
in
nml_mod.c
I changed from malloc() and strcpy() to strdup(), I also made sure the variableproc_name
is initialized to0
. However, in master branch, this file was removed since it wasn't necessary or used.