eet: return 0 instead of NULL when the return type is int

This commit is contained in:
Jean Guyomarc'h 2016-11-12 10:42:45 +01:00
parent 2e8d6968fd
commit cbde2cb04b
No known key found for this signature in database
GPG Key ID: 9BFD70B4662DC58C
1 changed files with 2 additions and 4 deletions

View File

@ -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)
{