[vte] debug: Handle all enum values in switch



commit d7f46fe0d437eeca9e72e8a65ad4b57fdd413e14
Author: Christian Persch <chpe src gnome org>
Date:   Sat Oct 12 20:10:55 2019 +0200

    debug: Handle all enum values in switch

 src/vteseq.cc | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/vteseq.cc b/src/vteseq.cc
index 771a413b..68800cf4 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -85,6 +85,10 @@ vte::parser::Sequence::type_string() const
         case VTE_SEQ_CSI:     return "CSI";
         case VTE_SEQ_DCS:     return "DCS";
         case VTE_SEQ_OSC:     return "OSC";
+        case VTE_SEQ_SCI:     return "SCI";
+        case VTE_SEQ_APC:     return "APC";
+        case VTE_SEQ_PM:      return "PM";
+        case VTE_SEQ_SOS:     return "SOS";
         default:
                 g_assert(false);
                 return nullptr;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]