Reacted on harmless compiler warnings about allegedly uninitialized variables
This commit is contained in:
parent
2b2a86ea2e
commit
281462802f
@ -314,7 +314,9 @@ int create_tree(Ecma119Image *image, IsoNode *iso, Ecma119Node **tree,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hidden) {
|
if (hidden) {
|
||||||
|
max_path= pathlen;
|
||||||
|
} else {
|
||||||
ret = get_iso_name(image, iso, &iso_name);
|
ret = get_iso_name(image, iso, &iso_name);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
iso_name = NULL; /* invalid, do not free */
|
iso_name = NULL; /* invalid, do not free */
|
||||||
@ -405,6 +407,7 @@ int create_tree(Ecma119Image *image, IsoNode *iso, Ecma119Node **tree,
|
|||||||
goto ex;
|
goto ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ret = ISO_SUCCESS;
|
||||||
pos = dir->children;
|
pos = dir->children;
|
||||||
while (pos) {
|
while (pos) {
|
||||||
int cret;
|
int cret;
|
||||||
|
Loading…
Reference in New Issue
Block a user