[vte/vte-0-54] lib: Make debug assertion conditional on VTE_DEBUG



commit e6f66fba00d553d99799bf81721a73b7b555a8f1
Author: Christian Persch <chpe src gnome org>
Date:   Mon Sep 3 16:10:51 2018 +0200

    lib: Make debug assertion conditional on VTE_DEBUG
    
    (cherry picked from commit a7cf5d57115ed3b6ffd62b375c12a6c3eae5ee73)

 src/vte.cc | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/vte.cc b/src/vte.cc
index baa6acfd..8a0bbdd3 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -3614,8 +3614,10 @@ Terminal::process_incoming()
                                         break;
                                 }
 
+#ifdef VTE_DEBUG
                                 if (rv != VTE_SEQ_NONE)
                                         g_assert((bool)seq);
+#endif
 
                                 _VTE_DEBUG_IF(VTE_DEBUG_PARSER) {
                                         if (rv != VTE_SEQ_NONE) {


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