Browse Source

Reacted on compiler warnings from gzpLinux on kernel 2.6

release-1.5.4.branch
Thomas Schmitt 12 years ago
parent
commit
4b0f175a89
  1. 3
      libisofs/filters/zisofs.c
  2. 1
      libisofs/node.c
  3. 2
      libisofs/tree.c

3
libisofs/filters/zisofs.c

@ -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

1
libisofs/node.c

@ -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) {

2
libisofs/tree.c

@ -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;

Loading…
Cancel
Save