From: Thomas Veerman Date: Thu, 2 Feb 2012 10:47:06 +0000 (+0000) Subject: Remove unused variables X-Git-Tag: v3.2.0~90 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=23491b7f46ef11128326965596533036b38f032c;p=minix.git Remove unused variables --- diff --git a/test/test56.c b/test/test56.c index 2f678639a..360e2a625 100644 --- a/test/test56.c +++ b/test/test56.c @@ -2480,8 +2480,7 @@ void test_permissions(void) { pid_t pid; int sd, rc, status; - struct sockaddr_un addr, client_addr; - char buf[10]; + struct sockaddr_un addr; socklen_t client_addr_size; client_addr_size = sizeof(struct sockaddr_un); @@ -2536,7 +2535,6 @@ void test_permissions(void) { test_fail("connect should not have worked"); exit(errct); } else { - int client_sd; SOCKET(sd, PF_UNIX, SOCK_STREAM, 0); rc = bind(sd, (struct sockaddr *) &addr, sizeof(struct sockaddr_un));