Skip to content

Commit defe9a1

Browse files
committed
Fix compiler warning
1 parent 3da1613 commit defe9a1

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## Image 0.61.1
4+
5+
This is the changelog for Image version 0.61.1 released on JJuly 14th, 2025. For older changelogs please consult the release tag on [GitHub](https://github.com/elixir-image/image/tags)
6+
7+
### Bug Fixes
8+
9+
* Fix "function get_req_message/1" compiler warning.
10+
311
## Image 0.61.0
412

513
This is the changelog for Image version 0.61.0 released on July 2nd, 2025. For older changelogs please consult the release tag on [GitHub](https://github.com/elixir-image/image/tags)

lib/image.ex

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,17 +1628,18 @@ defmodule Image do
16281628

16291629
Vix.Vips.Image.new_from_enum(body_stream)
16301630
end
1631-
end
16321631

1633-
defp get_req_message(timeout) do
1634-
receive do
1635-
message -> message
1636-
after
1637-
timeout ->
1638-
{:error, :timed_out}
1632+
defp get_req_message(timeout) do
1633+
receive do
1634+
message -> message
1635+
after
1636+
timeout ->
1637+
{:error, :timed_out}
1638+
end
16391639
end
16401640
end
16411641

1642+
16421643
@doc """
16431644
Write an image to a file, a stream, an enumerable or
16441645
to memory returning the image or raising an exception.

0 commit comments

Comments
 (0)