diff options
author | Stef Walter <stef@thewalter.net> | 2014-01-14 15:31:49 +0100 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-01-14 15:37:35 +0100 |
commit | 426db01ae6c793d59b055e2ff7b14eeb14a48e68 (patch) | |
tree | b8bb19ac74520eed255d31a544af529fb7818b75 /p11-kit/tests | |
parent | 99904e84d9f8f0637f66107807ac4ac9e3339e4a (diff) |
test-iter: Fix use of uninitialized variable
Diffstat (limited to 'p11-kit/tests')
-rw-r--r-- | p11-kit/tests/test-iter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/tests/test-iter.c b/p11-kit/tests/test-iter.c index e8b1e84..055a4b3 100644 --- a/p11-kit/tests/test-iter.c +++ b/p11-kit/tests/test-iter.c @@ -987,6 +987,7 @@ test_get_attributes (void) iter = p11_kit_iter_new (NULL, 0); p11_kit_iter_begin (iter, modules); + at = 0; while ((rv = p11_kit_iter_next (iter)) == CKR_OK) { assert (sizeof (attrs) == sizeof (template)); memcpy (&attrs, &template, sizeof (attrs)); |