summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-01-27 16:18:27 +0100
committerDaniel Friesel <derf@finalrewind.org>2012-01-27 16:18:27 +0100
commit6423c1732e35b88135a740a3593f792d36941e28 (patch)
treea0c623257ead0fc8dbe3c9ae253625296ae080d7 /src
parent8a08698ffda7e4ab0e3801e87016d60367108a2a (diff)
downloadfeh-6423c1732e35b88135a740a3593f792d36941e28.zip
filelist.c: Remove redundant "Couldn't load image" warning
Diffstat (limited to 'src')
-rw-r--r--src/filelist.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/filelist.c b/src/filelist.c
index 94baa06..63b3f65 100644
--- a/src/filelist.c
+++ b/src/filelist.c
@@ -319,11 +319,8 @@ int feh_file_info_load(feh_file * file, Imlib_Image im)
if (im)
im1 = im;
- else if (!feh_load_image(&im1, file) || !im1) {
- if (!opt.quiet)
- weprintf("couldn't load %s", file->filename);
+ else if (!feh_load_image(&im1, file) || !im1)
return(1);
- }
file->info = feh_file_info_new();