summaryrefslogtreecommitdiff
path: root/src/imlib.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-05-31 19:28:38 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-05-31 19:28:38 +0200
commit919ff551a5800a582c65af768e91e98011138bad (patch)
tree073af95b6bbc8b04ed13efb4e792777bec35ffe5 /src/imlib.c
parent27a1fb87555b40e0ad4d0f24640801dd527ed4a4 (diff)
fix some clang warnings
Diffstat (limited to 'src/imlib.c')
-rw-r--r--src/imlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imlib.c b/src/imlib.c
index 42d9711..2047c63 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -227,7 +227,7 @@ void feh_imlib_print_load_error(char *file, winwidget w, Imlib_Load_Error err)
int feh_load_image(Imlib_Image * im, feh_file * file)
{
- Imlib_Load_Error err;
+ Imlib_Load_Error err = IMLIB_LOAD_ERROR_NONE;
enum { SRC_IMLIB, SRC_HTTP, SRC_MAGICK } image_source =
SRC_IMLIB;
char *tmpname = NULL;