[metacity] core: suppress logically dead code defect



commit a4333948fcfbe1ecbc5e6b2c713bc92db65983d4
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Mar 14 22:35:03 2021 +0200

    core: suppress logically dead code defect
    
    Coverity CID: #1445660

 src/core/core.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/core/core.c b/src/core/core.c
index e0b0cf48e..f98cedd8d 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -152,6 +152,7 @@ meta_core_get (Display *xdisplay,
         *((gint*)answer) = window->screen->rect.height;
         break;
 
+      /* coverity[dead_error_begin] */
       case META_CORE_GET_END:
         break;
 


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