summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2012-10-12 11:28:26 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-10-16 11:15:02 -0400
commita6bc8b426c4ef089c33c95bec487d3101b110277 (patch)
treee19214bef26e21cf343bc3799ef9eadf9e5cbf25 /src
parentfa5180178609053b1f36d3aa06216b22f92ec1a8 (diff)
connection: Removed crashing code.
Diffstat (limited to 'src')
-rw-r--r--src/connection.c2
1 files changed, 0 insertions, 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;
}