summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-13 20:30:55 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-13 21:26:05 +0900
commit4bcfee0ef3f571ce627332bb26689d27ffcff388 (patch)
tree8df77dadadfa52ae7f94f64011fac368c989ed5f /src/utils
parent611714649bd522471c62fc37a7260840dd860e99 (diff)
ecore - utils - makekeys - fix uniitialized arrays
potential problem due to stak being filled or not. this fixes possible problems CID 1039547 and CID 1039546
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/ecore/makekeys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/ecore/makekeys.c b/src/utils/ecore/makekeys.c
index 5d8c979cf0..69383af416 100644
--- a/src/utils/ecore/makekeys.c
+++ b/src/utils/ecore/makekeys.c
@@ -59,9 +59,9 @@ main(int argc, char **argv)
59 long unsigned int val; 59 long unsigned int val;
60 char key[128], prefix[128]; 60 char key[128], prefix[128];
61 char tab[TBLNUM]; 61 char tab[TBLNUM];
62 unsigned short offsets[TBLNUM]; 62 unsigned short offsets[TBLNUM] = { 0 };
63 unsigned short indexes[TBLNUM]; 63 unsigned short indexes[TBLNUM] = { 0 };
64 long unsigned int values[TBLNUM]; 64 long unsigned int values[TBLNUM] = { 0 };
65 char buf[1024]; 65 char buf[1024];
66 66
67 for (l = 1; l < argc; l++) 67 for (l = 1; l < argc; l++)