]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - gui.c
gui: Remove unused struct stat_item.
[paraslash.git] / gui.c
diff --git a/gui.c b/gui.c
index aff2b1af5bb8d7cb4e7579129a1bdd1e272cfc68..0bee5c669b1b83c3c70c2f720b42deeeecc3a093 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -56,7 +56,7 @@ static unsigned scroll_position;
 static int curses_active;
 static pid_t cmd_pid;
 
-static int command_fds[2];
+static int command_fds[2] = {-1, -1};
 static int stat_pipe = -1;
 static struct gui_args_info conf;
 
@@ -80,18 +80,6 @@ struct gui_command {
        void (*handler)(void);
 };
 
-struct stat_item {
-       char name[MAXLINE];
-       char prefix[MAXLINE];
-       char postfix[MAXLINE];
-       unsigned y;
-       unsigned x;
-       unsigned len;
-       int fg, bg;
-       int align;
-       char content[MAXLINE];
-};
-
 static struct gui_theme theme;
 
 static int _argc;