|
Bugzilla – Full Text Bug Listing |
| Summary: | idzebra-2.0.36-2.1: undefined code | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | David Binderman <dcb314> |
| Component: | Other | Assignee: | Karl Eichwalder <ke> |
| Status: | RESOLVED UPSTREAM | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Factory | ||
| Target Milestone: | unspecified | ||
| Hardware: | All | ||
| OS: | openSUSE 11.1 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
Reported upstream: http://lists.indexdata.dk/pipermail/zebralist/2009-April/002185.html Patch is now available from here: http://lists.indexdata.dk/pipermail/zebralist/2009-April/002187.html (thanks, Adam!). Because this code fragment is only in use while debugging, I will wait for the next official idzebra update. |
I just tried to build Factory package idzebra-2.0.36-2.1 and the build said bset.c:261: warning: operation on 'i' may be undefined The source code is while ((i1=trav_BSet (sh, src, ++i)) == i) I agree with the compiler. There is no guarantee that the left side of a compare is evaluated before the right side of a compare. Suggest code rework.