seoz pushed a commit to branch master.

commit 4640a6a4ba087793c0eb03b7cd1b27be3a598375
Author: Daniel Juyung Seo <[email protected]>
Date:   Sun Aug 11 17:04:21 2013 +0900

    elm_cnp.c: initialize local variable.
    
    This fixes coverity CID 1039988 Uninitialized scalar variable (UNINIT).
---
 src/lib/elm_cnp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index a0ea093..596b81e 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -1317,7 +1317,7 @@ static Eina_Bool
 _x11_dnd_position(void *data __UNUSED__, int etype __UNUSED__, void *ev)
 {
    Ecore_X_Event_Xdnd_Position *pos = ev;
-   Ecore_X_Rectangle rect;
+   Ecore_X_Rectangle rect = { 0, 0, 0, 0 };
    Dropable *dropable, *dropable_old;
    Elm_Xdnd_Action act;
    

-- 

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk

Reply via email to