ruby: remove unused var

develop
jj 2012-09-28 22:58:26 +02:00
parent 634c281f00
commit 44a74ddc38
1 changed files with 0 additions and 2 deletions

@ -205,8 +205,6 @@ DFhackCExport command_result plugin_onstatechange ( color_ostream &out, state_ch
static command_result df_rubyeval(color_ostream &out, std::vector <std::string> & parameters) static command_result df_rubyeval(color_ostream &out, std::vector <std::string> & parameters)
{ {
command_result ret;
if (parameters.size() == 1 && (parameters[0] == "help" || parameters[0] == "?")) if (parameters.size() == 1 && (parameters[0] == "help" || parameters[0] == "?"))
{ {
out.print("This command executes an arbitrary ruby statement.\n"); out.print("This command executes an arbitrary ruby statement.\n");