projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fc7de2
)
elm_cnp.c: initialize local variable.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sun, 11 Aug 2013 08:04:21 +0000
(17:04 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sun, 11 Aug 2013 08:04:21 +0000
(17:04 +0900)
This fixes coverity CID 1039988 Uninitialized scalar variable (UNINIT).
src/lib/elm_cnp.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp.c
b/src/lib/elm_cnp.c
index
a0ea093
..
596b81e
100644
(file)
--- 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;