[PATCH V2 3/3] image: don't print redundant error

Bill Spitzak spitzak at gmail.com
Tue Aug 19 18:13:11 PDT 2014


This error is printed by load_image() now
---
 clients/image.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/clients/image.c b/clients/image.c
index 573117c..aee8112 100644
--- a/clients/image.c
+++ b/clients/image.c
@@ -373,7 +373,6 @@ image_create(struct display *display, const char *filename,
 	image->image = load_cairo_surface(filename);
 
 	if (!image->image) {
-		fprintf(stderr, "could not find the image %s!\n", b);
 		free(image->filename);
 		free(image);
 		return NULL;
-- 
1.7.9.5



More information about the wayland-devel mailing list