File 0974-Fix-bad-merge.patch of Package erlang

From bfa852d1c9c5e92b837ef2b24855cd121013cb25 Mon Sep 17 00:00:00 2001
From: Dan Gudmundsson <dgud@erlang.org>
Date: Thu, 10 Sep 2020 13:34:54 +0200
Subject: [PATCH] Fix bad merge

---
 lib/mnesia/src/mnesia_controller.erl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/mnesia/src/mnesia_controller.erl b/lib/mnesia/src/mnesia_controller.erl
index f8e4e584bf..3573b8613f 100644
--- a/lib/mnesia/src/mnesia_controller.erl
+++ b/lib/mnesia/src/mnesia_controller.erl
@@ -1580,7 +1580,6 @@ initial_safe_loads() ->
     end.
 
 last_consistent_replica(Tab, Downs) ->
-    Cs = val({Tab, cstruct}),
     case ?catch_val({Tab, cstruct}) of
         #cstruct{} = Cs ->
             last_consistent_replica(Cs, Tab, Downs);
-- 
2.26.2

openSUSE Build Service is sponsored by