Skip to content

Commit 0cec7fc

Browse files
committed
minor cleaning
1 parent 815f55c commit 0cec7fc

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

winxedst1.winxed

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9234,11 +9234,10 @@ class FunctionBase : BlockStatement
92349234
}
92359235
function usenamespace(ns)
92369236
{
9237+
__ASSERT__(ns != null);
92379238
var usedns = self.usednamespaces;
9238-
if (usedns == null) {
9239-
//cry('use namespace ', ns.name);
9239+
if (usedns == null)
92409240
self.usednamespaces = [ ns ];
9241-
}
92429241
else {
92439242
if (find_same(usedns, ns) != null)
92449243
return;
@@ -9247,9 +9246,8 @@ class FunctionBase : BlockStatement
92479246
}
92489247
function scopesearch(key, int flags)
92499248
{
9250-
var found;
92519249
for (var ns in self.usednamespaces) {
9252-
found = ns.scopesearch(key, flags);
9250+
var found = ns.scopesearch(key, flags);
92539251
if (found != null)
92549252
return found;
92559253
}

0 commit comments

Comments
 (0)