Bug 101029 - bad source code
bad source code
Product: Red Hat Linux
Classification: Retired
Component: evolution (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2003-07-28 14:42 EDT by d.binderman
Modified: 2007-04-18 12:56 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-07-28 14:48:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description d.binderman 2003-07-28 14:42:21 EDT
Description of problem:
Hello there,

I've just tried to compile package evolution-1.2.2-4 from Redhat 9.0
with compiler flag -Wall.

icaltimezone.c:195: warning: `return' with no value, in function returning non-void
icaltimezone.c:1606: warning: `return' with no value, in function returning non-void
icaltimezone.c:1620: warning: `return' with no value, in function returning non-void

In each case, returning rubbish off the stack to the caller is deeply
unlikely to be successful.

I think the package would be improved if these warnings were removed
from the next version.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Jeremy Katz 2003-07-28 14:48:06 EDT
Various warnings have been cleaned up in 1.4.x.  It's best to get this fixed by
reporting them upstream (preferably with patches, as that's the way they'll get
fixed the fastest) so that we don't end up carrying extraneous patches.

Note You need to log in before you can comment on or make changes to this bug.