Skip to content

Commit

Permalink
add missing ret variable assignment (#415)
Browse files Browse the repository at this point in the history
Co-authored-by: Mischa Gideonse <m.gideonse@maxxton.com>
  • Loading branch information
Auxority and mischag01 authored Mar 6, 2024
1 parent 7f3b594 commit 302974d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vips/foreign.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,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;
Expand Down

0 comments on commit 302974d

Please sign in to comment.