diff options
author | Colin Watson <cjwatson@debian.org> | 2020-04-17 20:57:34 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-04-18 09:48:21 +0100 |
commit | df7226c4b684fd229dc046388225c69ded877721 (patch) | |
tree | e69014e1ee868c4ec178b8a36baae7de31786beb /regress/assert.c | |
parent | f794345c2d734f593da8ed7754e5dbb5809c688d (diff) | |
parent | 75073d0a8478441cc97a6efa10b566c5fb1dac81 (diff) |
Update upstream source from tag 'upstream/1.4.0'
Update to upstream version '1.4.0'
with Debian dir 64889867df57bd13ea0cb964223697d378d391ce
Diffstat (limited to 'regress/assert.c')
-rw-r--r-- | regress/assert.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/regress/assert.c b/regress/assert.c index ebf0652..caa5725 100644 --- a/regress/assert.c +++ b/regress/assert.c | |||
@@ -216,12 +216,16 @@ empty_assert_tests(void) | |||
216 | fido_dev_io_t io_f; | 216 | fido_dev_io_t io_f; |
217 | int i; | 217 | int i; |
218 | 218 | ||
219 | memset(&io_f, 0, sizeof(io_f)); | ||
220 | |||
219 | a = alloc_assert(); | 221 | a = alloc_assert(); |
220 | d = alloc_dev(); | 222 | d = alloc_dev(); |
223 | |||
221 | io_f.open = dummy_open; | 224 | io_f.open = dummy_open; |
222 | io_f.close = dummy_close; | 225 | io_f.close = dummy_close; |
223 | io_f.read = dummy_read; | 226 | io_f.read = dummy_read; |
224 | io_f.write = dummy_write; | 227 | io_f.write = dummy_write; |
228 | |||
225 | assert(fido_dev_set_io_functions(d, &io_f) == FIDO_OK); | 229 | assert(fido_dev_set_io_functions(d, &io_f) == FIDO_OK); |
226 | 230 | ||
227 | empty_assert(d, a, 0); | 231 | empty_assert(d, a, 0); |