This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-recon.git

commit b80be93b072e5cf195dbe28046b1bb79f2c772cc
Author: Fred Hebert <[email protected]>
AuthorDate: Wed Mar 13 15:22:58 2024 +0000

    Bump to 2.5.5
---
 CHANGELOG.md             | 3 +++
 mix.exs                  | 2 +-
 src/recon.app.src        | 2 +-
 test/recon_lib_SUITE.erl | 4 ++--
 4 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 394edf0..d107e1a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,9 @@ Branches are organized by version. `master` contains the 
bleeding edge, `2.x`
 contains all stable changes up to the latest release of v2, and `1.x` contains
 all stable changes of the first version of Recon.
 
+## 2.5.5
+  - [Fix OTP-26 compiler warnings for 
OTP-27](https://github.com/ferd/recon/pull/107)
+
 ## 2.5.4
   - [Include `erts_mmap` in snapshots to help debug memory 
issues](https://github.com/ferd/recon/pull/106) (thanks to @garazdawi)
 
diff --git a/mix.exs b/mix.exs
index 770efa8..b332c7c 100644
--- a/mix.exs
+++ b/mix.exs
@@ -5,7 +5,7 @@ defmodule Recon.MixProject do
     [
       app: :recon,
       description: "Diagnostic tools for production use",
-      version: "2.5.4",
+      version: "2.5.5",
       language: :erlang,
       deps: []
     ]
diff --git a/src/recon.app.src b/src/recon.app.src
index 97705b2..7b0aa24 100644
--- a/src/recon.app.src
+++ b/src/recon.app.src
@@ -1,6 +1,6 @@
 {application, recon,
  [{description, "Diagnostic tools for production use"},
-  {vsn, "2.5.4"},
+  {vsn, "2.5.5"},
   {modules, [recon, recon_alloc, recon_lib, recon_trace, recon_rec]},
   {registered, []},
   {applications, [kernel, stdlib]},
diff --git a/test/recon_lib_SUITE.erl b/test/recon_lib_SUITE.erl
index b42e38e..c536312 100644
--- a/test/recon_lib_SUITE.erl
+++ b/test/recon_lib_SUITE.erl
@@ -8,10 +8,10 @@ scheduler_usage_diff(_Config) ->
     {Active0, Total0} = {1000, 2000},
     SchedStat0 = {1, Active0, Total0},
     % No active or total time has elapsed. Make sure we don't divide by zero.
-    [{1, 0.0}] = recon_lib:scheduler_usage_diff([SchedStat0], [SchedStat0]),
+    [{1, +0.0}] = recon_lib:scheduler_usage_diff([SchedStat0], [SchedStat0]),
     % Total time has elapsed, but no active time. Make sure we get 0 usage 
back.
     SchedStat1 = {1, Active0, Total0 * 2},
-    [{1, 0.0}] = recon_lib:scheduler_usage_diff([SchedStat0], [SchedStat1]),
+    [{1, +0.0}] = recon_lib:scheduler_usage_diff([SchedStat0], [SchedStat1]),
     % Check for 100% usage
     SchedStat2 = {1, Active0 + 1000, Total0 + 1000},
     [{1, 1.0}] = recon_lib:scheduler_usage_diff([SchedStat0], [SchedStat2]).

Reply via email to