diff options
Diffstat (limited to 'common/modules/base.jsm')
-rw-r--r-- | common/modules/base.jsm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/modules/base.jsm b/common/modules/base.jsm index 7d9e03a6..97076991 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -391,9 +391,7 @@ function iter(obj) { if (obj.constructor instanceof ctypes.StructType) return (function () { for (let prop in values(obj.constructor.fields)) - let ([name, type] = Iterator(prop).next()) { - yield [name, obj[name]]; - } + yield let ([name, type] = Iterator(prop).next()) [name, obj[name]]; })(); obj = {}; } |