jackdanielz pushed a commit to branch master.

commit af401b408343b57ced7f98eaded1e4c59337d0aa
Author: Daniel Zaoui <[email protected]>
Date:   Wed May 1 21:45:57 2013 +0300

    Eo: fix for unitialized value
---
 src/lib/eo/eo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c
index 611969f..9fc0b02 100644
--- a/src/lib/eo/eo.c
+++ b/src/lib/eo/eo.c
@@ -1475,7 +1475,7 @@ _eo_data_scope_get(const _Eo *obj, const _Eo_Class *klass)
 static inline void *
 _eo_data_xref_internal(const char *file, int line, _Eo *obj, const _Eo_Class 
*klass, const _Eo *ref_obj)
 {
-   void *data;
+   void *data = NULL;
    if (klass != NULL)
      {
         data = _eo_data_scope_get(obj, klass);

-- 

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1

Reply via email to