From 161e32e13794914c9fb324aa384b26dff3aaf9e3 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 28 Feb 2013 18:51:24 +0100 Subject: [PATCH] fix warning --- src/buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buffer.cc b/src/buffer.cc index a73f8fd3..ac11553f 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -184,7 +184,7 @@ struct Buffer::Modification Modification inverse() const { - Type inverse_type; + Type inverse_type = Insert; switch (type) { case Insert: inverse_type = Erase; break;