Bug 116273 - delete dead variable
delete dead variable
Product: Fedora
Classification: Fedora
Component: bison (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Roland McGrath
Depends On:
  Show dependency treegraph
Reported: 2004-02-19 11:41 EST by d.binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-02-19 17:00:58 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 d.binderman 2004-02-19 11:41:40 EST
Description of problem:

I just tried to compile development package bison-1.875-6

The compiler said

location.c(27): remark #300: const variable "empty_location" requires
an initializer

The source code is

location const empty_location;


[root@localhost SPECS]# grep empty_location
location const empty_location;
[root@localhost SPECS]#

Suggest delete unused variable.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Roland McGrath 2004-02-19 17:00:58 EST
That variable is used elsewhere, so your change is erroneous.
You cited a warning message from some third-party compiler.
No such compilers are supported on Fedora.  If you want to avoid that
warning, a change may be appropriate.  But that is an upstream issue,
if upstream maintainers care about your compiler.

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