git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed some compiler warnings
[swftools.git]
/
lib
/
as3
/
pool.c
diff --git
a/lib/as3/pool.c
b/lib/as3/pool.c
index
4cd4352
..
ce279a3
100644
(file)
--- a/
lib/as3/pool.c
+++ b/
lib/as3/pool.c
@@
-209,7
+209,7
@@
namespace_t* namespace_fromstring(const char*name)
namespace_t*ns = malloc(sizeof(namespace_t));
memset(ns, 0, sizeof(namespace_t));
if(name[0] == '[') {
namespace_t*ns = malloc(sizeof(namespace_t));
memset(ns, 0, sizeof(namespace_t));
if(name[0] == '[') {
- U8 access;
+ U8 access = 0;
char*n = strdup(name);
char*bracket = strchr(n, ']');
if(bracket) {
char*n = strdup(name);
char*bracket = strchr(n, ']');
if(bracket) {