Entfernung ungenutzer Funktion OLDcreateList
Diese wird im aktuellen Code nicht mehr verwendet.
Change-Id: I7d7f8d13c1f3e13b33fd0c2e61cf7e67b105ffe6
diff --git a/std/player/channel.c b/std/player/channel.c
index 58ff6eb..01ecaf4 100644
--- a/std/player/channel.c
+++ b/std/player/channel.c
@@ -247,39 +247,6 @@
return 0;
}
-// string n: Channelname
-// <object*|closure|string|object>* a: Channeldaten
-// string* m: P_CHANNELS
-// string* l: Ausgabeliste.
-private void OLDcreateList(string n, <object*|closure|string|object>* a,
- string* m, string* l)
-{
- // Wir suchen das vom Spieler festgelegte Kuerzel fuer die aktuell
- // bearbeitete Ebene, falls vorhanden.
- string sh = "";
- foreach(string sc, string chan : shortcut) {
- if ( lower_case(chan) == n ) {
- sh = sc;
- break;
- }
- }
-
- l += ({ sprintf("%-12.12'.'s %c[%-1.1s] %|12.12' 's (%-|3' 'd) %-42.42s\n",
- a[I_NAME],
- (member(m, n) != -1
- ? '*'
- : ' '),
- sh,
- a[I_MASTER]
- ? getName(a[I_MASTER])
- : getName(a[I_ACCESS]),
- sizeof(a[I_MEMBER] - ({ find_object(CHMASTER) })),
- (closurep(a[I_INFO]) && objectp(query_closure_object(a[I_INFO])))
- ? funcall(a[I_INFO]) || "- Keine Beschreibung -"
- : (stringp(a[I_INFO])
- ? a[I_INFO]
- : "- Keine Beschreibung -")) });
-}
private void createList(mapping ch_list, string* p_channels,
int show_only_subscribed) {