diff options
author | Stef Walter <stef@thewalter.net> | 2014-08-08 17:18:10 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-08-08 18:44:49 +0200 |
commit | 9cd9153a4d4cf78011d2a8f8c7a69aa8f3eda9f3 (patch) | |
tree | ded05597065f53de642c8cc9613cdb783a13dde6 /common/tests/test-array.c | |
parent | eb9d1fcc8e0adc38ff494af619db37013ff17cb9 (diff) |
Fix mostly erroneous scanner warnings in tests
Diffstat (limited to 'common/tests/test-array.c')
-rw-r--r-- | common/tests/test-array.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/tests/test-array.c b/common/tests/test-array.c index 8e8f996..695917a 100644 --- a/common/tests/test-array.c +++ b/common/tests/test-array.c @@ -151,6 +151,7 @@ test_remove_and_count (void) for (i = 0; i < 20000; ++i) { value = malloc (sizeof (int)); + assert (value != NULL); *value = i; if (!p11_array_push (array, value)) assert_not_reached (); |