forked from enlightenment/efl
Initialize the error code before returning.
SVN revision: 30483
This commit is contained in:
parent
fb53f7e913
commit
47b408af54
|
@ -185,8 +185,8 @@ soft16_image_load(const char *file, const char *key, int *error,
|
|||
Soft16_Image *im;
|
||||
char buf[4096 + 1024];
|
||||
|
||||
if (!file) return NULL;
|
||||
*error = 0;
|
||||
if (!file) return NULL;
|
||||
soft16_image_cache_key(lo, key, file, buf, sizeof(buf));
|
||||
im = soft16_image_cache_get(buf);
|
||||
if (im) return im;
|
||||
|
|
Loading…
Reference in New Issue