[phodav] spice: cleanup: remove returns at the end of funcs



commit 8087b5a93d8ea2368161824be982dadc433945f9
Author: Jakub Janků <jjanku redhat com>
Date:   Sun Aug 4 14:09:13 2019 +0200

    spice: cleanup: remove returns at the end of funcs
    
    Signed-off-by: Jakub Janků <jjanku redhat com>

 spice/spice-webdavd.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/spice/spice-webdavd.c b/spice/spice-webdavd.c
index 9868ea9..5a39d79 100644
--- a/spice/spice-webdavd.c
+++ b/spice/spice-webdavd.c
@@ -224,7 +224,6 @@ handle_push_error (OutputQueue *q, gpointer user_data, GError *error)
 
   g_warning ("push error: %s", error->message);
   remove_client (client);
-  return;
 }
 
 static void
@@ -380,8 +379,6 @@ client_read_cb (GObject      *source_object,
   output_queue_push (mux_queue, (guint8 *) &client->id, sizeof (gint64), handle_push_error, client);
   output_queue_push (mux_queue, (guint8 *) &client->size, sizeof (guint16), handle_push_error, client);
   output_queue_push (mux_queue, (guint8 *) client->buf, size, mux_pushed_cb, client);
-
-  return;
 }
 
 static void
@@ -620,7 +617,6 @@ unmap_drive(ServiceData *service_data)
     }
 
   g_mutex_unlock(&service_data->mutex);
-  return;
 }
 
 static void


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