Bug 361613

Summary: dictd-1.10.9-36: 2 * missing return stmt
Product: [openSUSE] openSUSE 11.0 Reporter: David Binderman <dcb314>
Component: OtherAssignee: Zuzana Petrova <zpetrova>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: meissner
Version: Alpha 2   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2008-02-13 19:49:55 UTC
I just tried to compile the package dictd-1.10.9-36
with the GNU C compiler.

The compiler said

1.

index.c:833: warning: no return statement in function returning non-void

The source code is

static int dict_search_prefix (
   lst_List l, const char *word,
   const dictDatabase *database, dictIndex *dbindex,
   int skip_count, int item_count)
{
   dict_search_prefix_first (l, word, database, dbindex,
                             BMH_PREFIX, skip_count, item_count);
}

I agree with the compiler. Suggest add a return statement.

2.

index.c:841: warning: no return statement in function returning non-void

Duplicate.
Comment 1 Zuzana Petrova 2008-02-18 14:07:11 UTC
Should be fixed in alpha3.