Bug 149212 - local variable used before set
Summary: local variable used before set
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:
Keywords:
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)

(edit)
Clone Of:
(edit)
Last Closed: 2005-05-10 12:54:16 UTC


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.