提交 f298f7da 编写于 作者: K Kristoffer Grönlund

Ensure GCC that p is not used uninitialized

上级 3202fb6a
......@@ -2771,7 +2771,7 @@ static void * malloc_base(void *context, size_t size, stb__alloc_type t, int ali
break;
}
default: assert(0); /* NOTREACHED */
default: p = NULL; assert(0); /* NOTREACHED */
}
++stb_alloc_count_alloc;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册