Skip to content

Commit

Permalink
Added comment why the return value is ignored.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Aug 12, 2024
1 parent 318c2c4 commit 53435fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Magick.NET/MagickImageCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,8 @@ public string ToBase64(IWriteDefines defines)
public void TrimBounds()
{
using var imageAttacher = new TemporaryImageAttacher(_images);

// The return value is ignored because the return value always is IntPtr.Zero.
_nativeInstance.Merge(_images[0], LayerMethod.Trimbounds);
}

Expand Down

0 comments on commit 53435fd

Please sign in to comment.