Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 154714

Summary: missing return expression
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: iiimf-le-xcinAssignee: Leon Ho <llch>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: eng-i18n-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-30 05:47:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Binderman 2005-04-13 17:53:39 UTC
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 *) &in;
    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):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 2 Lawrence Lim 2005-09-30 05:47:06 UTC
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 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.


Comment 3 David Binderman 2005-09-30 18:05:21 UTC
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.