File 1043-Fix-warning-in-mt.patch of Package erlang

From 31bb8f3eec8a54313a33f3074a5f9438eb179bed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20W=C4=85sowski?= <michal@erlang.org>
Date: Fri, 19 Dec 2025 17:53:03 +0100
Subject: [PATCH] Fix warning in mt

---
 lib/mnesia/test/mt.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/mnesia/test/mt.erl b/lib/mnesia/test/mt.erl
index aa3ca5271d..937e03414b 100644
--- a/lib/mnesia/test/mt.erl
+++ b/lib/mnesia/test/mt.erl
@@ -261,7 +261,8 @@ loop(M,F,N) when is_integer(N) ->
 loop_1(Case,N,Max,Config) when N < Max ->
     io:format("~nLoop test ~p ~n", [abs(N)]),
 
-    case ok_result(Res = t(Case,Config)) of
+    Res = t(Case, Config),
+    case ok_result(Res) of
 	true ->
 	    loop_1(Case,N+1,Max,Config);
 	error ->
-- 
2.51.0

openSUSE Build Service is sponsored by