OSDN Git Service

不要な変数への代入を削除 (IDE0058, IDE0059)
[opentween/open-tween.git] / OpenTween / Growl.cs
index f1bff9a..5643a54 100644 (file)
@@ -277,11 +277,11 @@ namespace OpenTween
                     notificationName = "USERSTREAM_EVENT";
                     break;
             }
-            object n = null;
+            object n;
             if (icon != null || !string.IsNullOrEmpty(url))
             {
                 var gCore = _core.GetType("Growl.CoreLibrary.Resource");
-                object res = null;
+                object res;
                 if (icon != null)
                 {
                     res = gCore.InvokeMember("op_Implicit",