File 5521-Remove-unused-field-from-appl-record-in-application_.patch of Package erlang

From 13286f0359c40b289ed1abaf465a6db573999171 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20Muska=C5=82a?= <micmus@fb.com>
Date: Tue, 23 Jan 2024 11:45:37 +0000
Subject: [PATCH] Remove unused field from appl record in
 application_controller

This field is not set or read. It seems that the restart_type
is stored in the running field of the controller's state.
---
 lib/kernel/src/application_controller.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/kernel/src/application_controller.erl b/lib/kernel/src/application_controller.erl
index 60080c155e..f3bb1aec75 100644
--- a/lib/kernel/src/application_controller.erl
+++ b/lib/kernel/src/application_controller.erl
@@ -159,7 +159,7 @@
 %% Env         = [{Key, Value}]
 %%-----------------------------------------------------------------
 
--record(appl, {name, appl_data, descr, id, vsn, restart_type, inc_apps, opt_apps, apps}).
+-record(appl, {name, appl_data, descr, id, vsn, inc_apps, opt_apps, apps}).
 
 %%-----------------------------------------------------------------
 %% Func: start/1
-- 
2.35.3

openSUSE Build Service is sponsored by