Browse Source

- bugfix, removed outdated assertions

tags/v0.4.0
Andreas Romeyke 2 years ago
parent
commit
0ff7de3e83
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      src/helper/check_tiffparse.c
  2. +0
    -1
      src/tagrules/check_tag_has_valuelist.c

+ 0
- 1
src/helper/check_tiffparse.c View File

@@ -515,7 +515,6 @@ ret_t read_offsetdata(ctiff_t * ctif, const uint32 address, const uint32 count,
printf ("is valid offset\n");
printf ("RET=%s\n", get_parser_error_description(ret_p->returncode));
#endif
assert( NULL == ret_p->value_found);
return *ret_p;
}



+ 0
- 1
src/tagrules/check_tag_has_valuelist.c View File

@@ -96,7 +96,6 @@ ret_t check_tag_has_valuelist(ctiff_t * ctif, tag_t tag, int count, const unsign
if (ifd_entry.value_or_offset == is_offset) {
offset_t offset;
ret = read_offsetdata(ctif, ifd_entry.data32offset, count, ifd_entry.datatype, &offset, &ret);
assert( NULL == ret.value_found);
uint16 * p = offset.data16p;
for (int i=0; i< count; i++) {
uint16 pval = *p;


Loading…
Cancel
Save