Red Hat Bugzilla – Bug 154714
missing return expression
Last modified: 2007-11-30 17:11:04 EST
Description of problem:
I just tried to compile iiimf-le-xcin-0.1.10-1 from Redhat
Fedora Core development tree
The compiler said
charcode.c:164: warning: `return' with no value, in function returning non-void
The source code is
wchar_t endianConversion(wchar_t in, int size)
wchar_t out = 0;
char *p_in = (char *) ∈
char *p_out = (char *) &out;
int i = 0;
int index = size;
if (isBigEndian()) return;
Suggest add expression to return statement.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
We strive to work with the upstream community of open source projects. This
allows us to reduce the likelihood of regressions between releases as well as to
benefit from features and fixes as development moves forward. Since this change
would require a divergence from the upstream project, please report this issue
to IIIMF developers by filing a bug report in the OpenI18N bugzilla located at
http://openi18n.org/bugzilla/ in the "IIIMF" component.
We urge you to bring the information upstream, so that it can be incorporated in
the next release. Once you've filed your bug report to OpenI18N, if you paste
the new bug URL here, we will continue to track the issue in the centralized
OpenI18N bug tracker, and will review any bug fixes that become available for
consideration in future updates.
It seems that the left hand doesn't know what the
right hand is doing.
Oh well - it saved me getting yet another account
on yet another copy of bugzilla just to report yet another
Thanks for that, anyway.