mruby/mruby — pull request #926 by suzukaze (2013-03-02 04:41:17+00:00)
Title: Deletes unused variable 'struct RArray *sv' in struct.c .

Enviroment
OS : Mac OS X 10.8.2
Changes toolchain from gcc to clang.

build_config.rb
toolchain :clang

Causes a warning when mruby is built.

$ make
...
CC mrbgems/mruby-struct/src/struct.c -> build/host/mrbgems/mruby-struct/src/struct.o
mrbgems/mruby-struct//src/struct.c:509:18: warning: unused variable 'sv' [-Wunused-variable]
struct RArray *sv;

Deletes unused variable 'struct RArray *sv'.

mrbgems/mruby-struct/src/struct.c
struct RArray *sv

Causes no warning when mruby is built.