[smuxi] Frontend: removed unreachable code from State.ctor()



commit b44ee256eb6687561bb0e1163cbdd3499c84e772
Author: Mirco Bauer <meebey meebey net>
Date:   Thu Aug 21 20:39:35 2014 +0200

    Frontend: removed unreachable code from State.ctor()

 src/Frontend/ChatViewSyncManager.cs |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/Frontend/ChatViewSyncManager.cs b/src/Frontend/ChatViewSyncManager.cs
index e905561..3d4e1b7 100644
--- a/src/Frontend/ChatViewSyncManager.cs
+++ b/src/Frontend/ChatViewSyncManager.cs
@@ -63,9 +63,6 @@ namespace Smuxi.Frontend
                 if (chat == null) {
                     throw new ArgumentNullException("chat");
                 }
-                if (SyncInfo != null) {
-                    throw new Exception("State already initialized");
-                }
                 SyncInfo = chat;
             }
 


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