The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 7a6b717f5e50eda25321156cf9c8cf91ec9b18bb
Author: Richard Heck <rgh...@lyx.org>
Date:   Wed Mar 27 14:45:16 2013 -0400

    Continuing here will crash us. This shouldn't be an issue, but
    it seems worth doing something sensible.

diff --git a/src/TocBackend.cpp b/src/TocBackend.cpp
index c8bf4ad..1df2adc 100644
--- a/src/TocBackend.cpp
+++ b/src/TocBackend.cpp
@@ -105,7 +105,7 @@ Toc const & TocBackend::toc(string const & type) const
 {
        // Is the type already supported?
        TocList::const_iterator it = tocs_.find(type);
-       LASSERT(it != tocs_.end(), /**/);
+       LASSERT(it != tocs_.end(), { static Toc dummy; return dummy; });
 
        return it->second;
 }

-----------------------------------------------------------------------

Summary of changes:
 src/TocBackend.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to