Bug 150297

Summary: missing expression in return statement
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: tetex-lgrindAssignee: Orphan Owner <extras-orphan>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: athompso
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-23 19:45:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Binderman 2005-03-04 14:28:24 UTC
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:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Michael Schwendt 2005-07-23 19:45:03 UTC
Will be fixed in tetex-lgrind-3.67-7

Comment 2 Michael Schwendt 2005-07-23 19:55:03 UTC
*** Bug 162523 has been marked as a duplicate of this bug. ***