[libchamplain] Get rid of clang static analysis tool warning about uninitialized value
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Get rid of clang static analysis tool warning about uninitialized value
- Date: Sun, 16 May 2010 00:03:09 +0000 (UTC)
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]