Reacted on compiler warnings from gzpLinux on kernel 2.6
This commit is contained in:
parent
633a8ada9e
commit
4b0f175a89
@ -913,6 +913,8 @@ int ziso_filter_get_uncompressor(FilterContext *filter, IsoStream *original,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef Libisofs_with_zliB
|
||||||
|
|
||||||
/* Produce a parameter object suitable for iso_file_add_filter().
|
/* Produce a parameter object suitable for iso_file_add_filter().
|
||||||
* It may be disposed by free() after all those calls are made.
|
* It may be disposed by free() after all those calls are made.
|
||||||
*
|
*
|
||||||
@ -939,6 +941,7 @@ int ziso_create_context(FilterContext **filter, int flag)
|
|||||||
return ISO_SUCCESS;
|
return ISO_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif Libisofs_with_zliB
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @param flag bit0= if_block_reduction rather than if_reduction
|
* @param flag bit0= if_block_reduction rather than if_reduction
|
||||||
|
@ -208,6 +208,7 @@ int iso_node_get_xinfo(IsoNode *node, iso_node_xinfo_func proc, void **data)
|
|||||||
return ISO_NULL_POINTER;
|
return ISO_NULL_POINTER;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*data = NULL;
|
||||||
pos = node->xinfo;
|
pos = node->xinfo;
|
||||||
while (pos != NULL) {
|
while (pos != NULL) {
|
||||||
if (pos->process == proc) {
|
if (pos->process == proc) {
|
||||||
|
@ -921,7 +921,7 @@ int iso_tree_path_to_node(IsoImage *image, const char *path, IsoNode **node)
|
|||||||
int result;
|
int result;
|
||||||
IsoNode *n;
|
IsoNode *n;
|
||||||
IsoDir *dir;
|
IsoDir *dir;
|
||||||
char *ptr, *brk_info, *component;
|
char *ptr, *brk_info = NULL, *component;
|
||||||
|
|
||||||
if (image == NULL || path == NULL) {
|
if (image == NULL || path == NULL) {
|
||||||
return ISO_NULL_POINTER;
|
return ISO_NULL_POINTER;
|
||||||
|
Loading…
Reference in New Issue
Block a user