Bug 158759 - missing expression in return statement
missing expression in return statement
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: evolution-data-server (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Malcolm
:
Depends On:
Blocks: FC5Target
  Show dependency treegraph
 
Reported: 2005-05-25 09:43 EDT by David Binderman
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-08-18 16:21:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Binderman 2005-05-25 09:43:17 EDT
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-17 23:47:15 EDT
Thanks for this report; I'll look into fixing this upstream
Comment 2 Dave Malcolm 2005-08-18 16:21:30 EDT
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@novell.com>)

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

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