Browse Source

Reacted on -Wextra -Wno-unused-parameter warnings of gcc for

libisofs/aaip-os-freebsd.c
release-1.5.4.branch
Thomas Schmitt 10 years ago
parent
commit
023e413624
  1. 4
      libisofs/aaip-os-freebsd.c

4
libisofs/aaip-os-freebsd.c

@ -229,7 +229,7 @@ ex:;
if(ret <= 0 || (flag & (1 << 15))) {
if(*names != NULL) {
for(i= 0; i < *num_attrs; i++)
for(i= 0; i < (ssize_t) *num_attrs; i++)
free((*names)[i]);
free(*names);
}
@ -238,7 +238,7 @@ ex:;
free(*value_lengths);
*value_lengths= NULL;
if(*values != NULL) {
for(i= 0; i < *num_attrs; i++)
for(i= 0; i < (ssize_t) *num_attrs; i++)
free((*values)[i]);
free(*values);
}

Loading…
Cancel
Save