|
Bugzilla – Full Text Bug Listing |
| Summary: | evms-2.5.3-7: local variable used before set | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | David Binderman <dcb314> |
| Component: | Basesystem | Assignee: | Thomas Fehr <fehr> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Added a path that should prevent this warning to package in STABLE. |
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.