Commit d0f96da2 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

src: Cleanup

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