brianmario / yajl-ruby

A streaming JSON parsing and encoding library for Ruby (C bindings to yajl)
http://rdoc.info/projects/brianmario/yajl-ruby
MIT License
1.48k stars 169 forks source link

variable 'stat' set but not used [-Wunused-but-set-variable] #179

Open sandrobonazzola opened 6 years ago

sandrobonazzola commented 6 years ago

While building the package, seen this warning from the compiler.

yajl_ext.c: In function 'rb_yajl_parser_parse': yajl_ext.c:471:17: warning: variable 'stat' set but not used [-Wunused-but-set-variable] yajl_status stat;

Probably not harming but also seems to be safe and easy to fix.