src: Cleanup

This commit is contained in:
Tatsuhiro Tsujikawa 2015-09-12 02:10:07 +09:00
parent f086b7b67e
commit d0f96da2c0
1 changed files with 1 additions and 2 deletions

View File

@ -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;
} }