Reacted on compiler warnings from gzpLinux on kernel 2.6

This commit is contained in:
Thomas Schmitt 2010-02-08 10:55:13 +01:00
parent 633a8ada9e
commit 4b0f175a89
3 changed files with 5 additions and 1 deletions

View File

@ -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().
* 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;
}
#endif Libisofs_with_zliB
/*
* @param flag bit0= if_block_reduction rather than if_reduction

View File

@ -208,6 +208,7 @@ int iso_node_get_xinfo(IsoNode *node, iso_node_xinfo_func proc, void **data)
return ISO_NULL_POINTER;
}
*data = NULL;
pos = node->xinfo;
while (pos != NULL) {
if (pos->process == proc) {

View File

@ -921,7 +921,7 @@ int iso_tree_path_to_node(IsoImage *image, const char *path, IsoNode **node)
int result;
IsoNode *n;
IsoDir *dir;
char *ptr, *brk_info, *component;
char *ptr, *brk_info = NULL, *component;
if (image == NULL || path == NULL) {
return ISO_NULL_POINTER;