summaryrefslogtreecommitdiff
path: root/src/format/dex
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-11-11 23:05:36 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-11-11 23:05:36 (GMT)
commit355a7140932b77d351bc6ddd965608b0011af855 (patch)
treef297872a2a33e0617d5fad0c85d00871f1482b06 /src/format/dex
parent0727204e36e919f06e80181482981c3f19669d76 (diff)
Fixed most of the warnings about use of uninitialized data.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@607 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/dex')
-rw-r--r--src/format/dex/pool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format/dex/pool.c b/src/format/dex/pool.c
index 904ab76..1724dd9 100644
--- a/src/format/dex/pool.c
+++ b/src/format/dex/pool.c
@@ -403,6 +403,8 @@ GBinRoutine *get_prototype_from_dex_pool(GDexFormat *format, uint32_t index)
uint32_t i; /* Boucle de parcours */
GBinVariable *arg; /* Argument reconstitué */
+ result = NULL;
+
if (index >= format->header.method_ids_size)
goto grfdp_error;