]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
initialize structure to 0
authorRay Strode <rstrode@redhat.com>
Thu, 19 Jun 2008 15:24:25 +0000 (11:24 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 19 Jun 2008 15:24:25 +0000 (11:24 -0400)
src/libplybootsplash/ply-window.c

index 8345b728a59561b5377d3434a29c3e16fbe88e17..48dcb14ddc59983ce8120d7b07cf149f3b2574cf 100644 (file)
@@ -287,7 +287,7 @@ static int
 get_active_vt (void)
 {
   int console_fd;
-  struct vt_stat console_state;
+  struct vt_stat console_state = { 0 };
 
   console_fd = open ("/dev/tty0", O_RDONLY | O_NOCTTY);