Commit e70f9b35 authored by Masaki Muranaka's avatar Masaki Muranaka

Simplify. Temporary variable "i" is removed.

parent c9f3fd47
......@@ -57,10 +57,8 @@ The value below allows about 60000 recursive calls in the simplest case. */
static inline void
stack_copy(mrb_value *dst, const mrb_value *src, size_t size)
{
size_t i;
for (i = 0; i < size; i++) {
dst[i] = src[i];
while (size-- > 0) {
*dst++ = *src++;
}
}
......
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