mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 09:58:14 +02:00
image: don't print redundant error
This error is printed by load_image() now Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
28371f7d55
commit
5e3b693a11
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue