[Spice-devel] [PATCH spice-gtk] Remove trailing semicolon

Pavel Grunt pgrunt at redhat.com
Fri Sep 9 06:24:21 UTC 2016


---
 src/channel-main.c       | 2 +-
 src/usb-device-manager.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/channel-main.c b/src/channel-main.c
index 26c8c6d..990a06a 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -3128,7 +3128,7 @@ gboolean spice_main_file_copy_finish(SpiceMainChannel *channel,
                                      GAsyncResult *result,
                                      GError **error)
 {
-    GTask *task = G_TASK(result);;
+    GTask *task = G_TASK(result);
 
     g_return_val_if_fail(SPICE_IS_MAIN_CHANNEL(channel), FALSE);
     g_return_val_if_fail(g_task_is_valid(task, channel), FALSE);
diff --git a/src/usb-device-manager.c b/src/usb-device-manager.c
index 4f956fd..f076967 100644
--- a/src/usb-device-manager.c
+++ b/src/usb-device-manager.c
@@ -1443,7 +1443,7 @@ GPtrArray* spice_usb_device_manager_get_devices_with_filter(
 
 #ifdef USE_USBREDIR
     SpiceUsbDeviceManagerPrivate *priv = self->priv;
-    struct usbredirfilter_rule *rules = NULL;;
+    struct usbredirfilter_rule *rules = NULL;
     int r, count = 0;
     guint i;
 
-- 
2.10.0



More information about the Spice-devel mailing list