Bug 157178 - local variable used before set
Summary: local variable used before set
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tetex
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-05-08 13:41 UTC by David Binderman
Modified: 2013-07-02 23:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-20 07:57:18 UTC
Type: ---


Attachments (Terms of Use)

Description David Binderman 2005-05-08 13:41:55 UTC
Description of problem:

I just tried to compile package tetex-3.0-3 from Redhat
Fedora Core development tree with the most excellent Intel C
compiler.

The compiler said

1.

t1load.c(448): remark #592: variable "tmp_size" is used before its value is set

The source code is

  sprintf( err_warn_msg_buf,
           "VM for Font %d: %d bytes", FontID, (int) tmp_size);

Suggest initialise local variable "tmp_size" 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 Fedora Update System 2005-09-19 19:43:10 UTC
From User-Agent: XML-RPC

tetex-3.0-6.FC4 has been pushed for FC4, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.


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