'time_op': print empty string instead of "(null)"

This commit is contained in:
Jonas Kulla 2013-09-02 11:21:06 +02:00
parent ca42db7353
commit a6ee6bd043
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ static mrb_value
mkxpTimeOp(mrb_state *mrb, mrb_value) mkxpTimeOp(mrb_state *mrb, mrb_value)
{ {
mrb_int iterations = 1; mrb_int iterations = 1;
const char *opName = 0; const char *opName = "";
mrb_value block; mrb_value block;
mrb_get_args(mrb, "|iz&", &iterations, &opName, &block); mrb_get_args(mrb, "|iz&", &iterations, &opName, &block);