tasn pushed a commit to branch master.
commit 8698e455f89287b08b84dd828b9f60ec834b2142
Author: Tom Hacohen <[email protected]>
Date: Thu Apr 18 13:46:28 2013 +0100
Ecore_x: init ret, otherwise it might be used uninitialized.
---
src/lib/ecore_x/xlib/ecore_x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ecore_x/xlib/ecore_x.c b/src/lib/ecore_x/xlib/ecore_x.c
index 41d899b..b6ddd5e 100644
--- a/src/lib/ecore_x/xlib/ecore_x.c
+++ b/src/lib/ecore_x/xlib/ecore_x.c
@@ -2123,7 +2123,7 @@ ecore_x_pointer_root_xy_get(int *x, int *y)
{
Ecore_X_Window *root;
Window rwin, cwin;
- int rx, ry, wx, wy, ret;
+ int rx, ry, wx, wy, ret = 0;
int i, num;
unsigned int mask;
--
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter