Bug 150142

Summary: evolution-data-server-1.4.1.1-8: missing return expression
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Harish Krishnaswamy <kharish>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-02-11 08:46:43 UTC
I just tried to compile package evolution-data-server-1.4.1.1-8 with the GNU
C compiler version 4.2 prerelease.

It said

e-folder-exchange.c:158: warning: return with no value, in function returning non-void

The source code is

static char *
sanitize_path (const char *path)
{
        gchar **comps;
        char *new_path = NULL;

        if (!path)
                return;

Suggest add expression to return statement
Comment 1 Harish Krishnaswamy 2006-10-05 09:11:04 UTC
This has long been fixed and is obsolete as of SLED 10 today. Thanks for reporting this. Resolving the bug.