Bug 138174 - missing return statement
Summary: missing return statement
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: units
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-11-05 09:56 UTC by David Binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-02-14 14:06:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2004-11-05 09:56:30 UTC
Description of problem:

I just tried to compile package units-1.80-10 from 
Redhat Fedora Core 3 Test 3.

The compiler said

parse.y(384): remark #1011: missing return statement at end of
non-void function "yyerror"

The source code is

yyerror(char *s){}

Suggest the following code

void
yyerror(char *s)
{
}


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


How reproducible:


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


Expected results:


Additional info:


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