From: Motohiro KOSAKI Date: 2011-08-05T08:54:28+09:00 Subject: [ruby-core:38808] [Ruby 1.9 - Feature #5157][Assigned] [PATCH] add -Wunused-variable to CFLAGS Issue #5157 has been updated by Motohiro KOSAKI. Status changed from Open to Assigned Assignee set to Motohiro KOSAKI I've assigned it to me then. ---------------------------------------- Feature #5157: [PATCH] add -Wunused-variable to CFLAGS http://redmine.ruby-lang.org/issues/5157 Author: Eric Wong Status: Assigned Priority: Low Assignee: Motohiro KOSAKI Category: build Target version: 1.9.x 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. -- http://redmine.ruby-lang.org