efl: in read only case this might get uninitialized.
authorCedric BAIL <cedric@osg.samsung.com>
Tue, 20 Dec 2016 17:40:03 +0000 (09:40 -0800)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 21 Dec 2016 00:39:29 +0000 (16:39 -0800)
src/lib/efl/interfaces/efl_io_buffer.c

index e22bfa3..1cfeedd 100644 (file)
@@ -370,7 +370,7 @@ EOLIAN static Eina_Error
 _efl_io_buffer_efl_io_sizer_resize(Eo *o, Efl_Io_Buffer_Data *pd, uint64_t size)
 {
    Eina_Error ret = 0;
-   Eina_Bool reallocated;
+   Eina_Bool reallocated = EINA_FALSE;
    size_t old_size, pos_read, pos_write;
 
    EINA_SAFETY_ON_TRUE_RETURN_VAL(efl_io_closer_closed_get(o), EINVAL);