[smuxi: 141/179] Frontend-GNOME: remove unused code from GroupChatView.Populate()



commit 25cd26882b247439c3d40cc7ac21467053ec394f
Author: Mirco Bauer <meebey meebey net>
Date:   Tue May 9 21:43:41 2017 +0800

    Frontend-GNOME: remove unused code from GroupChatView.Populate()
    
    longestName is an unused local variable and thus it can be safely removed.

 src/Frontend-GNOME/Views/Chats/GroupChatView.cs |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/Frontend-GNOME/Views/Chats/GroupChatView.cs b/src/Frontend-GNOME/Views/Chats/GroupChatView.cs
index e86ed57..b619b61 100644
--- a/src/Frontend-GNOME/Views/Chats/GroupChatView.cs
+++ b/src/Frontend-GNOME/Views/Chats/GroupChatView.cs
@@ -326,13 +326,8 @@ namespace Smuxi.Frontend.Gnome
                 // cleanup, be sure the list is empty
                 ls.Clear();
                 Participants = new List<PersonModel>();
-                string longestName = String.Empty;
                 foreach (var person in persons.Values.OrderBy(x => x)) {
                     ls.AppendValues(person);
-                    
-                    if (person.IdentityName.Length > longestName.Length) {
-                        longestName = person.IdentityName;
-                    }
                     Participants.Add(person);
                 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]