]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
drop unused variable
authorRay Strode <rstrode@redhat.com>
Sun, 18 May 2008 22:30:35 +0000 (18:30 -0400)
committerRay Strode <rstrode@redhat.com>
Sun, 18 May 2008 22:30:35 +0000 (18:30 -0400)
src/libply/ply-terminal.c

index b6dc64c2ba066884bc7b2fd1a0291cce58aba1a6..7229b6a0fdd438eca9becd806d4edf233dabf82c 100644 (file)
@@ -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");