From 11468c0d45f990948efff2d60f0b9e4a30dc324e Mon Sep 17 00:00:00 2001 From: Mischa Date: Fri, 23 Feb 2024 09:22:08 +0100 Subject: [PATCH] add missing assignment to 'ret' variable --- vips/foreign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vips/foreign.c b/vips/foreign.c index 1e1b723c..1b8d4143 100644 --- a/vips/foreign.c +++ b/vips/foreign.c @@ -288,7 +288,7 @@ int set_webpsave_options(VipsOperation *operation, SaveParams *params) { NULL); if (!ret && params->quality) { - vips_object_set(VIPS_OBJECT(operation), "Q", params->quality, NULL); + ret = vips_object_set(VIPS_OBJECT(operation), "Q", params->quality, NULL); } return ret;