Bugzilla – Bug 130311
missing expression in return statement
Last modified: 2005-10-28 13:59:35 UTC
I just tried to compile package geki2-2.0.3-358 with the GNU C compiler It said ranking.c:17: warning: `return' with no value, in function returning non-void The source code is if (i == 5) return; I notice that the return type is void. I also notice that there is no return statement at the end of the function. It might be better to change the return type of the function from int to void.
David, please send such warnings together with a patch to the upstream package author so that the next official release will contain that fix and we can use it. thanks.
(In reply to comment #1) > David, please send such warnings together with a patch to the upstream package > author so that the next official release will contain that fix and we can use > it. Righto. You only got the bug report because I couldn't find an upstream maintainer in the package source code. I'll have another look. If I still can't find an upstream maintainer, then I guess this bug report will go to /dev/null.
The maintainer is listed as pth@suse.de (Phillip Thomas).
homepage is http://kxl.hn.org/, there should be an email address.
>The maintainer is listed as pth@suse.de (Phillip Thomas). Thanks for your help. I have emailed him, to point him at this bug report. Hopefully a new release soon ;->
I'm not the upstream maintainer, I'm just the SUSE maintainer for the package. The Author of geki2 is SATO Katsuyoshi <fc3srx7@mwnet.or.jp>. But I'll have a look at the package.