summaryrefslogtreecommitdiff
path: root/image/png.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/png.c')
-rw-r--r--image/png.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/image/png.c b/image/png.c
index 1c78d3006..11903cbd3 100644
--- a/image/png.c
+++ b/image/png.c
@@ -246,7 +246,6 @@ static nserror nspng_create_png_data(nspng_content *png_c)
if (png_c->png == NULL) {
msg_data.error = messages_get("NoMemory");
content_broadcast(&png_c->base, CONTENT_MSG_ERROR, msg_data);
- warn_user("NoMemory", 0);
return NSERROR_NOMEM;
}
@@ -258,7 +257,6 @@ static nserror nspng_create_png_data(nspng_content *png_c)
msg_data.error = messages_get("NoMemory");
content_broadcast(&png_c->base, CONTENT_MSG_ERROR, msg_data);
- warn_user("NoMemory", 0);
return NSERROR_NOMEM;
}