Bugzilla – Bug 139579
evms-2.5.3-7: local variable used before set
Last modified: 2005-12-19 11:29:26 UTC
I just tried to compile package evms-2.5.3-7 with the Intel C compiler It said worker.c(211): warning #592: variable "engine_version" is used before its value is set The source code is evms_version_t engine_version; void * return_buf = NULL; LOG_PROC_ENTRY(); evms_sizeof_host_to_net(&size, evms_version_f, engine_version.major, engine_version.minor, engine_version.patchlevel); Suggest initialise local variable "engine_version" before first use. I tried to contact the author [ corryk@us.ibm.com ] but didn't get an answer.
Added a path that should prevent this warning to package in STABLE.