From fd8517f91e9d7deacf5be1471e93571a69cea561 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 5 Jun 2012 13:33:02 +0000 Subject: fix some warnings detected with clang --- src/buffer.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/buffer.cc') diff --git a/src/buffer.cc b/src/buffer.cc index 59ece2ae..c111a3b3 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -177,6 +177,7 @@ bool Buffer::undo() for (const Modification& modification : reversed(*m_history_cursor)) apply_modification(modification.inverse()); + return true; } bool Buffer::redo() @@ -188,6 +189,7 @@ bool Buffer::redo() apply_modification(modification); ++m_history_cursor; + return true; } void Buffer::check_invariant() const -- cgit v1.2.3