Skip to content

Commit 3bdf7d9

Browse files
committed
Remove unnecessary semicolon and newlines
1 parent 0b8637d commit 3bdf7d9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Application.vala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ public class Music.Application : Gtk.Application {
228228
File? file;
229229
try {
230230
file = save_dialog.save.end (res);
231-
232231
M3U.save_playlist (playback_manager.queue_liststore, file);
233232
} catch (Error err) {
234233
if (err.matches (Gtk.DialogError.quark (), Gtk.DialogError.DISMISSED)) {

src/Services/M3U.vala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace Music.M3U {
3333
// debug ("URL are currently unsupported:" + line);
3434
} else {
3535
target = File.new_for_path (line);
36-
};
36+
}
3737

3838
// We do not need to test yet whether files exist
3939
list += target;
@@ -58,7 +58,6 @@ namespace Music.M3U {
5858
try {
5959
var ostream = playlist.replace (null, false, GLib.FileCreateFlags.REPLACE_DESTINATION);
6060
var dostream = new DataOutputStream (ostream);
61-
6261
dostream.put_string (content);
6362
} catch (Error err) {
6463
warning ("Failed to writing to playlist: %s", err.message);

0 commit comments

Comments
 (0)