summaryrefslogtreecommitdiff
path: root/src/lib/eet
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-11-12 10:42:45 +0100
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-11-12 10:42:45 +0100
commitcbde2cb04b3096c0854b3cfebd455d3383c16ea7 (patch)
treed233d668c6d65fcb1d83ad848dce66977e305d59 /src/lib/eet
parent2e8d6968fdc43932e4ab21a2186171b8f73eb470 (diff)
eet: return 0 instead of NULL when the return type is int
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_image.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/eet/eet_image.c b/src/lib/eet/eet_image.c
index b77d90e510..760f696502 100644
--- a/src/lib/eet/eet_image.c
+++ b/src/lib/eet/eet_image.c
@@ -1691,8 +1691,7 @@ eet_data_image_header_advance_decode_cipher(const void *data,
1691 unsigned int deciphered_sz = 0; 1691 unsigned int deciphered_sz = 0;
1692 int r = 0; 1692 int r = 0;
1693 1693
1694 if (!data) 1694 if (!data) return 0;
1695 return NULL;
1696 1695
1697 if (cipher_key) 1696 if (cipher_key)
1698 { 1697 {
@@ -2180,8 +2179,7 @@ eet_data_image_decode_to_cspace_surface_cipher(const void *data,
2180 void *deciphered_d = NULL; 2179 void *deciphered_d = NULL;
2181 unsigned int deciphered_sz = 0; 2180 unsigned int deciphered_sz = 0;
2182 2181
2183 if (!data) 2182 if (!data) return 0;
2184 return NULL;
2185 2183
2186 if (cipher_key) 2184 if (cipher_key)
2187 { 2185 {