summaryrefslogtreecommitdiff
path: root/src/buffer.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-02-28 18:51:24 +0100
committerMaxime Coste <frrrwww@gmail.com>2013-02-28 18:51:24 +0100
commit161e32e13794914c9fb324aa384b26dff3aaf9e3 (patch)
tree1f88cf9c29b9b10d11759d76d38ecc31d3a3a8c7 /src/buffer.cc
parent849f225e70b34c735070f98ece9f04ae349b704a (diff)
fix warning
Diffstat (limited to 'src/buffer.cc')
-rw-r--r--src/buffer.cc2
1 files changed, 1 insertions, 1 deletions
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;