Skip to content

Commit

Permalink
Fix unused label warning when building without ublio
Browse files Browse the repository at this point in the history
  • Loading branch information
0x09 committed May 10, 2021
1 parent bf157ca commit bb30b40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/libhfsuser/hfsuser.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,9 @@ int hfs_read(hfs_volume* vol, void* outbytes, uint64_t length, uint64_t offset,
#endif
ret = hfs_read_pread(dev, outbytes, length, offset);

#ifdef HAVE_UBLIO
end:
#endif
if(ret)
hfslib_error("read of %" PRIu64 " bytes at offset %" PRIu64 " failed (block size %" PRIu32 "): %s",
NULL, 0, length, offset, dev->blksize, strerror(-ret));
Expand Down

0 comments on commit bb30b40

Please sign in to comment.