Bug 149212 - local variable used before set
Summary: local variable used before set
Keywords:
Status: CLOSED RAWHIDE
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-02-21 10:49 UTC by David Binderman
Modified: 2013-07-02 23:06 UTC (History)
1 user (show)

Fixed In Version: 149212
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-10 12:54:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2005-02-21 10:49:00 UTC
Description of problem:

I just tried to compile package tetex-3.0-1 from 
Redhat Fedora development tree.

The compiler said

1.

ttf2afm.c(325): remark #592: variable "v" is used before its value is set

The source code is

    u = xtalloc(1, unicode_entry), *v;

I've checked the source code, and I agree with the compiler. Suggest
code re-work.




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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Jindrich Novy 2005-05-10 12:54:16 UTC
This is now fixed.


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