raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=33880a3d7c4b9afa3d3c5e1c1fe0b66ebeb28a81

commit 33880a3d7c4b9afa3d3c5e1c1fe0b66ebeb28a81
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Fri Jul 8 18:33:02 2016 +0900

    elm_prefs_cc - clean up return with added brackets to be clear
    
    it seems coverity gets confused with the sizeof(c) / sizeof(type). add
    () hoping it will silence it. this is related to:
    
    CID 1353600 and 1353599
---
 src/bin/elementary/elm_prefs_cc_handlers.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/elementary/elm_prefs_cc_handlers.c 
b/src/bin/elementary/elm_prefs_cc_handlers.c
index 5df036d..a400d5b 100644
--- a/src/bin/elementary/elm_prefs_cc_handlers.c
+++ b/src/bin/elementary/elm_prefs_cc_handlers.c
@@ -733,13 +733,13 @@ New_Object_Handler object_handlers[] =
 int
 object_handler_num(void)
 {
-   return sizeof(object_handlers) / sizeof (New_Object_Handler);
+   return (sizeof(object_handlers) / sizeof (New_Object_Handler));
 }
 
 int
 statement_handler_num(void)
 {
-   return sizeof(statement_handlers) / sizeof (New_Statement_Handler);
+   return (sizeof(statement_handlers) / sizeof (New_Statement_Handler));
 }
 
 static void

-- 


Reply via email to