mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Make test_constructor_not_called more robust.
Previously, it could report a false negative, based on re-using stack memory from a previous test.
This commit is contained in:
1 parent
70612df43a
commit
622d115148
1 file changed
+1
-1
+1
-1
@@ -27,7 +27,7 @@ uint8_t global_src_buffer[BUFFER_SIZE];
|
||||
|
||||
void test_constructor_not_called() {
|
||||
test_funcname = __func__;
|
||||
puffs_gif_lzw_decoder dec;
|
||||
puffs_gif_lzw_decoder dec = {{0}};
|
||||
puffs_base_buf1 dst = {0};
|
||||
puffs_base_buf1 src = {0};
|
||||
puffs_gif_status status = puffs_gif_lzw_decoder_decode(&dec, &dst, &src);
|
||||
|
||||
Reference in new issue
Block a user