Commit e4ea524f authored by Victor Yacovlev's avatar Victor Yacovlev

Removed error message if no return-value for first algorithm

parent 46635ab8
......@@ -2076,6 +2076,8 @@ void KumirVM::do_load(uint8_t s, uint16_t id)
stack_values.push(val);
if (val.dimension()==0)
register0 = val.value();
if (isRetVal)
Variable::unsetError();
}
s_error = Kumir::Core::getError();
nextIP();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment