Bug 105836
| Summary: | kdemultimedia bad source code | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | d.binderman |
| Component: | kdemultimedia | Assignee: | Than Ngo <than> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-06-03 15:30:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
it seems to be fixed in kde 3.2.x. |
From Bugzilla Helper: User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk (Win98; I) Description of problem: Hello there, I have just tried to compile package kdemultimedia-3.1-4 from Redhat 9.0 with the compiler flag -Wall. The compiler said resample.c:1288: warning: operation on `dest' may be undefined resample.c:1289: warning: operation on `dest' may be undefined The source code is *dest++ = *(dest - 1) / 2; *dest++ = *(dest - 1) / 2; Better source code would be *dest = *(dest - 1) / 2; ++dest; *dest = *(dest - 1) / 2; ++dest; Also, the compiler said cdtext.c:211: warning: `return' with no value, in function returning non-void cdtext.c:402: warning: this function may return with or without a value Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. compile with flag -Wall. 2. 3. Additional info