summaryrefslogtreecommitdiff
path: root/console-client/trans.c
diff options
context:
space:
mode:
authorMiguel Figueiredo <elmig@debianpt.org>2013-06-01 19:09:42 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-01 19:09:42 +0200
commit52244341d129d17f5dba7fc3ced60af9b014d44a (patch)
tree844dac5e60332bc89a9ecbc502522a681b0f6f37 /console-client/trans.c
parent14b8631823483fd26e03b5ed38b1d4125a462dd0 (diff)
Remove unused variable
* console-client/trans.c (console_setup_node): Remove unused variable.
Diffstat (limited to 'console-client/trans.c')
-rw-r--r--console-client/trans.c2
1 files changed, 0 insertions, 2 deletions
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)