|
Bugzilla – Full Text Bug Listing |
| Summary: | wordcut-0.5.1b2-5: local variable used before set | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | David Binderman <dcb314> |
| Component: | Basesystem | Assignee: | Mike Fabian <mfabian> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SuSE Linux 10.1 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | bugzilla-152315-locale-variable-used-before-set.patch | ||
Thank you. Fixed in STABLE. ------------------------------------------------------------------- Thu Feb 23 18:27:00 CET 2006 - mfabian@suse.de - Bugzilla #152315: "local variable used before set". ------------------------------------------------------------------- Created attachment 70023 [details]
bugzilla-152315-locale-variable-used-before-set.patch
The patch I used.
Reported upstream. |
I just tried to compile package wordcut-0.5.1b2-5 with the Intel C compiler. It said wordcut_dict_dump.c(11): warning #592: variable "size" is used before its value is set The source code is uint8_t header=data[p],size; int i; printf ("!!! p=%d header=%d size=%d\n",p,header,size); Suggest initialise local variable "size" before first use.