From 3ef7e1a35ddf5cbc2b0f8ced4c8eaeb52b8524bc Mon Sep 17 00:00:00 2001 From: "craig.p.drummond" Date: Wed, 27 Feb 2013 19:38:38 +0000 Subject: [PATCH] Remove unused var --- devices/mtpdevice.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/devices/mtpdevice.cpp b/devices/mtpdevice.cpp index 4ed686042..877e738e6 100644 --- a/devices/mtpdevice.cpp +++ b/devices/mtpdevice.cpp @@ -902,7 +902,6 @@ void MtpConnection::delSong(const Song &song) Path path=decodePath(song.file); bool deletedSong=device && path.ok() && 0==LIBMTP_Delete_Object(device, path.id); if (deletedSong) { - int before=folderMap[path.parent].children.count(); folderMap[path.parent].children.remove(path.id); } emit delSongStatus(deletedSong);