Bug 147285 - 5 * dead code detected
Summary: 5 * dead code detected
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libgnomeprint22
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Marek Kašík
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-02-06 09:55 UTC by David Binderman
Modified: 2008-04-01 13:49 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-01 13:49:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2005-02-06 09:55:35 UTC
Description of problem:

I just tried to compile package libgnomeprint22-2.8.2-1 from 
Redhat Fedora development tree.

The compiler said

sft.c(234): remark #177: function "mkTag" was declared but never
referenced
sft.c(300): remark #177: function "PutInt16" was declared but never
referenced
ttcr.c(130): remark #177: function "GetInt32" was declared but never
referenced
ttcr.c(146): remark #177: function "GetUInt32" was declared but never
referenced
ttcr.c(212): remark #177: function "PutInt32" was declared but never
referenced

I've had a look at the source code, and I agree with the compiler.
Suggest delete dead code.



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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Marek Kašík 2008-04-01 13:49:16 UTC
This is not a bug. These functions are there because of fullness of offered
functions.
Additionally, these functions have no negative impact on functionality of the
library.

  Marek Kasik


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