Bug 150297 - missing expression in return statement
missing expression in return statement
Product: Fedora
Classification: Fedora
Component: tetex-lgrind (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Orphan Owner
Fedora Extras Quality Assurance
: 162523 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-03-04 09:28 EST by David Binderman
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-23 15:45:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Binderman 2005-03-04 09:28:24 EST
Description of problem:

I just tried to compile tetex-lgrind-3.67-4 from 
Redhat Fedora Extras development tree with the Intel C compiler.

The Intel compiler said

lgutil.c(280): warning #117: non-void function "parsevartab" should
return a value

The source code is

varsubst *parsevartab(char* fname)
        FILE *f = fopen(fname, "rt");
        char linebuf[201], *cp;
        varsubst *varsubsts=NULL, *substitem, *substlistpos;

        if (f==NULL) return;

Suggest add expression into return statement.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Michael Schwendt 2005-07-23 15:45:03 EDT
Will be fixed in tetex-lgrind-3.67-7
Comment 2 Michael Schwendt 2005-07-23 15:55:03 EDT
*** Bug 162523 has been marked as a duplicate of this bug. ***

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