Bug 111033

Summary: bad source code
Product: [Fedora] Fedora Reporter: d.binderman
Component: pmakeAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.45-13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-02 14:54:37 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 d.binderman 2003-11-26 15:38:49 UTC
Description of problem:
I just tried to compile package pmake-1_45-11 from Fedora.

The compiler said

job.c(1610): remark #592: variable "status" is used before its value
is set

The source code is

	int status;

	/* more code */

	W_SETTERMSIG(&status, SIGCONT);


Suggest initialise status before first use.

	int status = 0;



Version-Release number of selected component (if applicable):
pmake-1_45-11 

How reproducible:


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


Expected results:


Additional info:

Comment 1 Jakub Jelinek 2003-12-02 14:54:37 UTC
Added to pmake-1.45-13.