mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
base: use wuffs_base__empty_slice_u8 more often
This commit is contained in:
1 parent
9a68ec70c6
commit
5407f39386
8 files changed
+28
-28
No files matched your search
@@ -32,7 +32,7 @@ wuffs_private_impl__io__since(uint64_t mark,
|
||||
return wuffs_base__make_slice_u8(((uint8_t*)ptr) + mark,
|
||||
((size_t)(index - mark)));
|
||||
}
|
||||
return wuffs_base__make_slice_u8(NULL, 0);
|
||||
return wuffs_base__empty_slice_u8();
|
||||
}
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
Reference in new issue
Block a user