From 52244341d129d17f5dba7fc3ced60af9b014d44a Mon Sep 17 00:00:00 2001 From: Miguel Figueiredo Date: Sat, 1 Jun 2013 19:09:42 +0200 Subject: Remove unused variable * console-client/trans.c (console_setup_node): Remove unused variable. --- console-client/trans.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'console-client') diff --git a/console-client/trans.c b/console-client/trans.c index 6949af5e..8219f970 100644 --- a/console-client/trans.c +++ b/console-client/trans.c @@ -844,7 +844,6 @@ console_unregister_consnode (consnode_t cn) error_t console_setup_node (char *path) { - mach_port_t underlying; mach_port_t bootstrap; error_t err; struct stat ul_stat; @@ -874,7 +873,6 @@ console_setup_node (char *path) err = file_set_translator (node, 0, FS_TRANS_EXCL | FS_TRANS_SET, 0, 0, 0, right, MACH_MSG_TYPE_COPY_SEND); mach_port_deallocate (mach_task_self (), right); - underlying = node; err = io_stat (node, &ul_stat); if (err) -- cgit v1.2.3