Bug 145943 - 4 * dead code detected
Summary: 4 * dead code detected
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: mysql
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tom Lane
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-24 10:39 UTC by David Binderman
Modified: 2013-07-03 03:03 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-01-24 16:31:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2005-01-24 10:39:59 UTC
Description of problem:

I just tried to compile package mysql-4.1.9-1 from 
Redhat Fedora development tree.

The compiler said

item_strfunc.cc(41): remark #177: function "my_coll_agg_error" was
declared but
never referenced
mysqld.cc(5462): remark #177: function "use_help" was declared but
never referenced
fsp0fsp.c(450): remark #177: function "xdes_find_bit_downward" was
declared but
never referenced
fsp0fsp.c(755): remark #177: function "xdes_lst_get_next" 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 Tom Lane 2005-01-24 16:31:14 UTC
I see zero value in Red Hat maintaining a private patch for this.
Report the issue to MySQL AB (www.mysql.com) if you want the code
changed.


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