Bug 117330 - local variable used before set
Summary: local variable used before set
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pam
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-02 21:29 UTC by d.binderman
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-20 07:33:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description d.binderman 2004-03-02 21:29:49 UTC
Description of problem:

I just tried to compile Core2 Test1 package pam-0.77-30

The compiler said

pam_selinux.c(343): remark #592: variable "con" is used before its
value is set

The source code is

        context_free(con);

This is the first use of local variable con in this function. 
Suggest init con before first use.


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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Tomas Mraz 2004-09-09 11:47:20 UTC
Not applicable to latest pam-0.77-55.



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