Bug 158759

Summary: missing expression in return statement
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: evolution-data-serverAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
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-08-18 20:21:30 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:
Bug Depends On:    
Bug Blocks: 150221    

Description David Binderman 2005-05-25 13:43:17 UTC
Description of problem:

I just tried to compile package evolution-data-server-1.2.2-3 from Redhat
Fedora Core development tree with the most excellent Intel C compiler.

The compiler said

1.

e-book-backend-ldap.c(597): warning #117: non-void function
"query_ldap_root_dse" should return a value

The source code is

        if (!ldap)
                return;

Suggest add expression to return statement.



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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Dave Malcolm 2005-08-18 03:47:15 UTC
Thanks for this report; I'll look into fixing this upstream

Comment 2 Dave Malcolm 2005-08-18 20:21:30 UTC
Bug was introduced by this commit:
http://cvs.gnome.org/viewcvs/evolution-data-server/addressbook/backends/ldap/e-book-backend-ldap.c?r1=1.36&r2=1.37
(2005-01-10  Hans Petter Jansson  <hpj>)

Fixed in upstream CVS (returns LDAP_OTHER); this is fixed in the latest rawhide
package.