Red Hat Bugzilla – Bug 147085
dead code detected
Last modified: 2014-03-16 22:52:15 EDT
Description of problem:
I just tried to compile package kudzu-1.1.107-1 from
Redhat Fedora development tree.
The compiler said
pci.c(134): remark #177: function "vendCmp" was declared but never
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):
Steps to Reproduce:
You know, if it's a dead static function, the compiler should just
remove it anyway (if it doesn't already.)
Removed in CVS, will show up in new builds eventually.
>the compiler should just remove it anyway
Last time I checked, a couple of months back, gcc doesn't
remove dead static functions. Hence the bug report.
You might want to raise a bug report on gcc, but that's
usually a waste of time anyway ;->