[gnome-flashback] system-indicators: suppress logically dead code defect



commit 2389462028ab31f25afd83656a00bfea6ed06b0b
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Mar 16 21:42:10 2021 +0200

    system-indicators: suppress logically dead code defect
    
    Coverity CID: #1491456

 system-indicators/si-power.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/system-indicators/si-power.c b/system-indicators/si-power.c
index 55af4c2..b5ef019 100644
--- a/system-indicators/si-power.c
+++ b/system-indicators/si-power.c
@@ -113,6 +113,7 @@ get_state_text (SiPower *self)
                               hours, minutes, percentage);
     }
 
+  /* coverity[dead_error_line] */
   return NULL;
 }
 


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