Red Hat Bugzilla – Bug 101029
bad source code
Last modified: 2007-04-18 12:56:14 EDT
Description of problem:
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):
Steps to Reproduce:
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.