Project

General

Profile

Actions

Feature #5157

closed

[PATCH] add -Wunused-variable to CFLAGS

Added by normalperson (Eric Wong) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Target version:
[ruby-core:38798]

Description

Unused variables are ugly.

As an often-careless C extension maintainer, I end up with a lot of unused
variables, so this compiler flag will propagate to extensions I maintain.

The core of Ruby is remarkably free of unused variables despite the
current lack of -Wunused-variable, however I've also attached a trivial
patch to the openssl extension that removes a few unused variables.


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0