[krh/wayland/next 3/5] connection: Removed crashing code.

John Kåre Alsaker john.kare.alsaker at gmail.com
Fri Oct 12 02:28:26 PDT 2012


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

diff --git a/src/connection.c b/src/connection.c
index 58b150b..ad060b0 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -622,7 +622,6 @@ wl_connection_demarshal(struct wl_connection *connection,
 	unsigned int i, count, extra_space;
 	const char *signature = message->signature;
 	struct argument_details arg;
-	struct wl_object **object;
 	struct wl_array **array;
 	struct wl_closure *closure;
 
@@ -715,7 +714,6 @@ wl_connection_demarshal(struct wl_connection *connection,
 				printf("NULL object received on non-nullable "
 				       "type, message %s(%s)\n", message->name,
 				       message->signature);
-				*object = NULL;
 				errno = EINVAL;
 				goto err;
 			}
-- 
1.7.12.2



More information about the wayland-devel mailing list