From a6bc8b426c4ef089c33c95bec487d3101b110277 Mon Sep 17 00:00:00 2001 From: =?utf8?q?John=20K=C3=A5re=20Alsaker?= Date: Fri, 12 Oct 2012 11:28:26 +0200 Subject: [PATCH 1/1] connection: Removed crashing code. --- src/connection.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/connection.c b/src/connection.c index f2ef230..c6b9449 100644 --- a/src/connection.c +++ b/src/connection.c @@ -653,7 +653,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; @@ -746,7 +745,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; } -- 2.7.4