]> git.lyx.org Git - lyx.git/blobdiff - src/BufferList.cpp
Fix footnote output in description item
[lyx.git] / src / BufferList.cpp
index 33f40a0d76b73d4908fdcba74ad700fe8edebb16..a61b0bfd80fdd8d80229601eb96537b7b8557fa7 100644 (file)
@@ -96,7 +96,7 @@ void BufferList::release(Buffer * buf)
        BufferStorage::iterator const it =
                find(bstore.begin(), bstore.end(), buf);
        if (it != bstore.end()) {
-               Buffer const * parent = buf ? buf->parent() : 0;
+               Buffer const * parent = buf->parent();
                Buffer * tmp = (*it);
                bstore.erase(it);
                LASSERT(tmp, return);