From 36e3dd8abe299f1d8a4e8c40939014c12f8e0381 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 19 Jun 2008 11:24:25 -0400 Subject: [PATCH] initialize structure to 0 --- src/libplybootsplash/ply-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libplybootsplash/ply-window.c b/src/libplybootsplash/ply-window.c index 8345b728..48dcb14d 100644 --- a/src/libplybootsplash/ply-window.c +++ b/src/libplybootsplash/ply-window.c @@ -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);