summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristopher Michael <devilhorns@comcast.net>2021-02-25 09:33:42 -0500
committerChristopher Michael <devilhorns@comcast.net>2021-02-25 09:33:42 -0500
commit3e5629f12554d517a9c2b94450350d2a729292ae (patch)
treea061a103dcb385411646f5a53f88eb2d0d9675cc /src
parent359435bed97c06f4a3b7b3fe29cc3f2b1a0a8d43 (diff)
eio_test_manager: Fix unchecked return value
Small patch to check return value of eina_value_convert reported by Coverity Fixes CID1400976
Diffstat (limited to 'src')
-rw-r--r--src/tests/eio/eio_test_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/eio/eio_test_manager.c b/src/tests/eio/eio_test_manager.c
index 3c49cf6271..fbbe3b78e5 100644
--- a/src/tests/eio/eio_test_manager.c
+++ b/src/tests/eio/eio_test_manager.c
@@ -88,7 +88,7 @@ _done_cb(void *data,
88 unsigned long files_count = 0; 88 unsigned long files_count = 0;
89 89
90 eina_value_setup(&convert, EINA_VALUE_TYPE_ULONG); 90 eina_value_setup(&convert, EINA_VALUE_TYPE_ULONG);
91 eina_value_convert(&file, &convert); 91 fail_if(eina_value_convert(&file, &convert) != EINA_TRUE);
92 fail_unless(eina_value_ulong_get(&convert, &files_count)); 92 fail_unless(eina_value_ulong_get(&convert, &files_count));
93 93
94 fail_if((*number_of_listed_files) != test_count); 94 fail_if((*number_of_listed_files) != test_count);