Commit d0f96da2 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

src: Cleanup

parent f086b7b6
......@@ -130,8 +130,7 @@ template <typename Memchunk> struct Memchunks {
size_t append(char c) {
if (!tail) {
head = tail = pool->get();
}
if (tail->left() == 0) {
} else if (tail->left() == 0) {
tail->next = pool->get();
tail = tail->next;
}
......
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