[PATCH] connection: remove unreached code

Boyan Ding stu_dby at 126.com
Tue Jun 3 20:39:08 PDT 2014


---
 src/connection.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/connection.c b/src/connection.c
index 47ee556..f292853 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -379,8 +379,6 @@ wl_connection_queue(struct wl_connection *connection,
 	}
 
 	return wl_buffer_put(&connection->out, data, count);
-
-	return 0;
 }
 
 static int
-- 
1.9.3




More information about the wayland-devel mailing list