Reacted on warnings of Debian buildd with clang

This commit is contained in:
Thomas Schmitt 2013-09-16 20:52:14 +02:00
parent b95e1bb85c
commit c78526abce
3 changed files with 3 additions and 3 deletions

View File

@ -2065,7 +2065,7 @@ int aaip_decode_acl(unsigned char *data, size_t num_data, size_t *consumed,
unsigned char *rpt; unsigned char *rpt;
char perm_text[4], *wpt, *name= NULL; char perm_text[4], *wpt, *name= NULL;
int type, qualifier= 0, perm, ret, cnt, name_size= 1024; int type, qualifier= 0, perm, ret, cnt, name_size= 1024;
size_t w_size, name_fill= 0, i; size_t w_size= 0, name_fill= 0, i;
uid_t uid; uid_t uid;
gid_t gid; gid_t gid;
struct passwd *pwd; struct passwd *pwd;

View File

@ -308,7 +308,7 @@ int mangle_single_dir(Ecma119Image *img, Iso1999Node *dir)
int ret; int ret;
int i, nchildren; int i, nchildren;
Iso1999Node **children; Iso1999Node **children;
IsoHTable *table; IsoHTable *table = NULL;
int need_sort = 0; int need_sort = 0;
char *full_name = NULL, *tmp = NULL; char *full_name = NULL, *tmp = NULL;

View File

@ -349,7 +349,7 @@ int mangle_single_dir(Ecma119Image *t, JolietNode *dir)
int ret; int ret;
int i, nchildren, maxchar = 64; int i, nchildren, maxchar = 64;
JolietNode **children; JolietNode **children;
IsoHTable *table; IsoHTable *table = NULL;
int need_sort = 0; int need_sort = 0;
uint16_t *full_name = NULL; uint16_t *full_name = NULL;
uint16_t *tmp = NULL; uint16_t *tmp = NULL;