Bug 140826 - 2 * control reaches end of non-void function
Summary: 2 * control reaches end of non-void function
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: qt
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-25 09:33 UTC by David Binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-25 10:24:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2004-11-25 09:33:41 UTC
Description of problem:

I just tried to compile package qt-3.3.3-8 from 
Redhat Fedora Core 3.

The compiler said

1.


kernel/qinputcontext.cpp:770: warning: control reaches end of non-void
function

The source code is

QString QInputContext::identifierName()
{
}

Suggest add return statement to function.

2.

kernel/qinputcontext.cpp:791: warning: control reaches end of non-void
function

The source code is

QString QInputContext::language()
{
}

Suggest add return statement to function.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Than Ngo 2004-11-25 10:24:23 UTC
it's already fixed in 3.3.1-13 or newer. It will show up in rawhide
soon. Thanks for your report.

Comment 2 David Binderman 2004-11-25 18:05:59 UTC
>it's already fixed in 3.3.1-13 or newer.

Strange. My bug report was for version qt-3.3.3-8, and you are making
the claim that version 3.3.1-13 is newer.

Keyboard trouble with the version numbers ?

Comment 3 Than Ngo 2004-11-26 11:14:13 UTC
oh sorry, i mean qt-3.3.3-13 ;-)


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