efl/src/lib/eet
Daniel Willmann 1d8f06511c eet_cipher: Fix initialization of opened variable
In the error case we 'goto' the error path directly without passing
through the declaration and initialization of the variable.

This doesn't work so move the declaration/initialization to the start.
See this example (compile with -Wall for the warning):

-----
 #include <stdio.h>

 int main(void)
 {
   goto bar;

   int i = 15;

 bar:
   printf("Foo: %i\n", i);

   return 0;
 }
----

Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-03-19 17:00:33 +00:00
..
Eet.h add eet_data_descriptor_name_get() 2013-02-01 10:59:23 +00:00
Eet_private.h efl: add eet_map and use it. 2013-01-02 02:46:05 +00:00
eet_alloc.c merge: add eet 2012-09-17 16:35:38 +00:00
eet_cipher.c eet_cipher: Fix initialization of opened variable 2013-03-19 17:00:33 +00:00
eet_connection.c include some header files conditionally add specific test for fcntl 2013-03-11 10:34:47 +09:00
eet_data.c include some header files conditionally add specific test for fcntl 2013-03-11 10:34:47 +09:00
eet_dictionary.c merge: add eet 2012-09-17 16:35:38 +00:00
eet_image.c include some header files conditionally add specific test for fcntl 2013-03-11 10:34:47 +09:00
eet_lib.c include some header files conditionally add specific test for fcntl 2013-03-11 10:34:47 +09:00
eet_node.c merge: add eet 2012-09-17 16:35:38 +00:00
eet_utils.c merge: add eet 2012-09-17 16:35:38 +00:00