Skip to content

Commit

Permalink
add missing assignment to 'ret' variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mischa committed Feb 23, 2024
1 parent c4cb962 commit 11468c0
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 @@ -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;
Expand Down

0 comments on commit 11468c0

Please sign in to comment.