ide: Fixed a couple warnings
authorJerome St-Louis <jerome@ecere.com>
Fri, 15 Jul 2016 04:34:02 +0000 (00:34 -0400)
committerJerome St-Louis <jerome@ecere.com>
Thu, 28 Jul 2016 22:23:29 +0000 (18:23 -0400)
ide/src/designer/CodeEditor.ec
ide/src/project/ProjectNode.ec

index 03536ff..e3c50bb 100644 (file)
@@ -2136,7 +2136,7 @@ class CodeEditor : Window
    void OnDestroy(void)
    {
       ObjectInfo oClass, next;
-      Class windowClass = eSystem_FindClass(this.privateModule, "ecere::gui::Window");
+      // Class windowClass = eSystem_FindClass(this.privateModule, "ecere::gui::Window");
 
       FreeType(this.functionType);
       FreeType(this.instanceType);
index ad9702e..bbb7c7f 100644 (file)
@@ -3008,7 +3008,8 @@ static bool StringsAreSameOrMore(Array<String> strings, Array<String> originals,
             break;
          }
          else
-            map[s] = null;
+            mit.Remove();
+            // TOFIX: Templates map[s] = null;
       }
       if(result)
       {