[gnome-games/wip/exalm/cleanups: 9/9] Remove unnecessary semicolons after 'while(){}'



commit 81adb7a1bb6fef02831d7a3e44b3161fa0476d64
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Tue Sep 11 15:15:33 2018 +0500

    Remove unnecessary semicolons after 'while(){}'

 src/retro/retro-input-manager.vala       | 2 +-
 src/ui/preferences-page-controllers.vala | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/retro/retro-input-manager.vala b/src/retro/retro-input-manager.vala
index 0ef850d3..7b0a5947 100644
--- a/src/retro/retro-input-manager.vala
+++ b/src/retro/retro-input-manager.vala
@@ -37,7 +37,7 @@ private class Games.RetroInputManager : Object {
                        controllers += retro_gamepad;
                        core.set_controller (port, retro_gamepad);
                        device.disconnected.connect (on_device_disconnected);
-               };
+               }
 
                core_view_joypad_port = controllers.length;
                devices += null;
diff --git a/src/ui/preferences-page-controllers.vala b/src/ui/preferences-page-controllers.vala
index ddc234dc..74441feb 100644
--- a/src/ui/preferences-page-controllers.vala
+++ b/src/ui/preferences-page-controllers.vala
@@ -55,7 +55,7 @@ private class Games.PreferencesPageControllers: Gtk.Stack, PreferencesPage {
                        box.margin = 6;
                        box.show_all ();
                        gamepads_list_box.add (box);
-               };
+               }
                gamepads_label.visible = i > 0;
                gamepads_frame.visible = i > 0;
        }
@@ -75,7 +75,7 @@ private class Games.PreferencesPageControllers: Gtk.Stack, PreferencesPage {
                while (iterator.next (out other_device)) {
                        if (i++ == row_index)
                                device = other_device;
-               };
+               }
 
                if (device == null)
                        return;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]