Bug 150142 - evolution-data-server-1.4.1.1-8: missing return expression
Summary: evolution-data-server-1.4.1.1-8: missing return expression
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SuSE Linux 10.1
: P5 - None : Minor
Target Milestone: ---
Assignee: Harish Krishnaswamy
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-11 08:46 UTC by David Binderman
Modified: 2006-10-05 09:11 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.