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

Pekka Paalanen ppaalanen at gmail.com
Thu Sep 11 03:13:36 PDT 2014


On Tue, 19 Aug 2014 18:13:11 -0700
Bill Spitzak <spitzak at gmail.com> wrote:

> 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;

Yup.

All three patches pushed. SardemFF7 said he will do his patches on top
of yours later.


Thanks,
pq


More information about the wayland-devel mailing list