From 997890f5322e02a2b6abab47b0c5a771d820bcf1 Mon Sep 17 00:00:00 2001 From: Jens Lody Date: Wed, 5 Mar 2014 07:33:23 +0100 Subject: [PATCH] Fix incorrect variable declaration. --- src/prefs.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/prefs.js b/src/prefs.js index fc6cdd0..62df185 100644 --- a/src/prefs.js +++ b/src/prefs.js @@ -395,9 +395,8 @@ const WeatherPrefsWidget = new GObject.Class({ let current = this.liststore.get_iter_first(); + var m = {}; for (var i in city) { - if (m == undefined) - var m = {}; current = completionModel.append();