aboutsummaryrefslogtreecommitdiffstats
path: root/mpd-currentsong.js
diff options
context:
space:
mode:
authoranekos2015-01-14 22:38:25 +0900
committeranekos2015-01-14 22:38:25 +0900
commitfc4b39b9347f7566fbf8394b47cba524bc91565d (patch)
tree145ddb69d8381ffdd4b240e5ef3d85f44d0b6af3 /mpd-currentsong.js
parentd5015aba75424f27b83579ab983c1c3f393ebf3e (diff)
downloadvimperator-plugins-fc4b39b9347f7566fbf8394b47cba524bc91565d.tar.bz2
fix redeclaration of variable.
Diffstat (limited to 'mpd-currentsong.js')
-rw-r--r--mpd-currentsong.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpd-currentsong.js b/mpd-currentsong.js
index f852b9a..98b6d4a 100644
--- a/mpd-currentsong.js
+++ b/mpd-currentsong.js
@@ -89,7 +89,7 @@ let INFO = xml`
let timeout = true;
let song = {};
- let buf = {};
+ buf = {};
outer: for (let i = 0; i < 100; i++) {
while (cis.readLine(buf) > 0) {
let line = buf.value;