forked from enlightenment/efl
eet: return 0 instead of NULL when the return type is int
This commit is contained in:
parent
2e8d6968fd
commit
cbde2cb04b
|
@ -1691,8 +1691,7 @@ eet_data_image_header_advance_decode_cipher(const void *data,
|
|||
unsigned int deciphered_sz = 0;
|
||||
int r = 0;
|
||||
|
||||
if (!data)
|
||||
return NULL;
|
||||
if (!data) return 0;
|
||||
|
||||
if (cipher_key)
|
||||
{
|
||||
|
@ -2180,8 +2179,7 @@ eet_data_image_decode_to_cspace_surface_cipher(const void *data,
|
|||
void *deciphered_d = NULL;
|
||||
unsigned int deciphered_sz = 0;
|
||||
|
||||
if (!data)
|
||||
return NULL;
|
||||
if (!data) return 0;
|
||||
|
||||
if (cipher_key)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue