Skip to content

Commit

Permalink
add missing ret variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mischa Gideonse committed Mar 6, 2024
1 parent 44d974d commit c53a76b
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 c53a76b

Please sign in to comment.