base: use wuffs_base__empty_slice_u8 more often

This commit is contained in:
Nigel Tao committed 2023-11-02 22:43:01 +11:00
1 parent 9a68ec70c6
commit 5407f39386
8 files changed
+28 -28

No files matched your search

+1 -1
View File
@@ -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