Eio model test: initialise pointer (clang warning).
authorTom Hacohen <tom@stosb.com>
Fri, 9 Oct 2015 11:23:41 +0000 (12:23 +0100)
committerTom Hacohen <tom@stosb.com>
Fri, 9 Oct 2015 11:23:43 +0000 (12:23 +0100)
This is probably not an issue because the function should always
return a value, but initialising this variable silence clang's
warning and is not harmful anyway.

src/tests/eio/eio_model_test_file.c

index b54ef15..270cb87 100644 (file)
@@ -153,7 +153,7 @@ START_TEST(eio_model_test_test_file)
    Eo *filemodel = NULL;
    const Eina_Value *value_prop;
    Efl_Model_Load_Status status;
-   Eina_Array *properties_list;
+   Eina_Array *properties_list = NULL;
    Eina_Array_Iterator iterator;
    char *str;
    unsigned int i;