Bug 149611

Summary: 3 * missing return statements
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: fluxboxAssignee: Andreas Bierfert <andreas.bierfert>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-31 22:28:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Binderman 2005-02-24 14:12:55 UTC
Description of problem:

I just tried to compile package fluxbox-0.9.9-2 from 
Redhat Fedora Extras development tree.

The compiler said


ScreenResources.cc(177): warning #1011: missing return statement at
end of non-void function "FbTk::Resource<T>::getString [with
T=FbTk::GContext::LineStyle]"
ScreenResources.cc(211): warning #1011: missing return statement at
end of non-void function "FbTk::Resource<T>::getString [with
T=FbTk::GContext::JoinStyle]"
ScreenResources.cc(248): warning #1011: missing return statement at
end of non-void function "FbTk::Resource<T>::getString [with
T=FbTk::GContext::CapStyle]"

There may be some value in adding some code to deal with unexpected
values in the switch statements.



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


How reproducible:


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


Expected results:


Additional info: