Bug 122805

Summary: local variable used before set
Product: [Fedora] Fedora Reporter: d.binderman
Component: wireless-toolsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: rvokal
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-01-28 05:29:38 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 2004-05-08 09:01:53 UTC
Description of problem:

I just tried to compile Core2 Test3 package wireless-tools-26-4

The compiler said

iwlib.c(1170): remark #592: variable "range" is used before its value
is set

The source code is

      printf("flags = %X, index = %X\n", *flags,
range.encoding_login_index);

Suggest init range 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 Bill Nottingham 2005-01-28 05:29:38 UTC
This is fixed in current code.