Bug 145943 - 4 * dead code detected
4 * dead code detected
Product: Fedora
Classification: Fedora
Component: mysql (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tom Lane
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-01-24 05:39 EST by David Binderman
Modified: 2013-07-02 23:03 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-24 11:31:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Binderman 2005-01-24 05:39:59 EST
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:
Actual results:

Expected results:

Additional info:
Comment 1 Tom Lane 2005-01-24 11:31:14 EST
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

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