[libchamplain] Get rid of clang static analysis tool warning about uninitialized value



commit 42b281cfa7535f4f262429e7ed34e112e19936b6
Author: JiÅ?í Techet <techet gmail com>
Date:   Sat May 15 16:53:42 2010 +0200

    Get rid of clang static analysis tool warning about uninitialized value
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 bindings/python/champlain/pychamplain.override |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bindings/python/champlain/pychamplain.override b/bindings/python/champlain/pychamplain.override
index 08ccbd1..2cb3b22 100644
--- a/bindings/python/champlain/pychamplain.override
+++ b/bindings/python/champlain/pychamplain.override
@@ -659,7 +659,7 @@ _wrap_ChamplainMapSource__proxy_do_get_projection(ChamplainMapSource *self)
 {
     PyGILState_STATE __py_state;
     PyObject *py_self;
-    ChamplainMapProjection retval;
+    ChamplainMapProjection retval = CHAMPLAIN_MAP_PROJECTION_MERCATOR;
     PyObject *py_retval;
     PyObject *py_method;
     



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]