Bug 145943

Summary: 4 * dead code detected
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: mysqlAssignee: Tom Lane <tgl>
Status: CLOSED UPSTREAM QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: hhorak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-24 16:31:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.