summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-05-18 18:30:35 -0400
committerRay Strode <rstrode@redhat.com>2008-05-18 18:30:35 -0400
commit3192199ed05773bdc822bd415a395728cd39ab4d (patch)
tree2659249f98232c0e077d6070a4ae683b4460d224
parent9cf51bcce4907fe5104fca10ce395f529ccff0d0 (diff)
downloadplymouth-3192199ed05773bdc822bd415a395728cd39ab4d.tar.gz
plymouth-3192199ed05773bdc822bd415a395728cd39ab4d.tar.xz
plymouth-3192199ed05773bdc822bd415a395728cd39ab4d.zip
drop unused variable
-rw-r--r--src/libply/ply-terminal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libply/ply-terminal.c b/src/libply/ply-terminal.c
index b6dc64c..7229b6a 100644
--- a/src/libply/ply-terminal.c
+++ b/src/libply/ply-terminal.c
@@ -68,8 +68,6 @@ ply_terminal_free (ply_terminal_t *terminal)
bool
ply_terminal_create_device (ply_terminal_t *terminal)
{
- int saved_errno;
-
assert (terminal != NULL);
assert (!ply_terminal_has_device (terminal));
@@ -78,6 +76,7 @@ ply_terminal_create_device (ply_terminal_t *terminal)
if (terminal->fd < 0)
return false;
+
ply_trace (" opened device '/dev/ptmx'");
ply_trace ("creating pseudoterminal");