remove unused statusline_buffer

This commit is contained in:
Ingo Bürk 2015-02-18 20:01:32 +01:00
parent bb6823f5c7
commit 9ff230c375
3 changed files with 0 additions and 7 deletions

View File

@ -17,7 +17,6 @@ typedef struct rect_t rect;
struct ev_loop *main_loop;
char *statusline;
char *statusline_buffer;
struct rect_t {
int x;

View File

@ -56,7 +56,6 @@ parser_ctx parser_context;
/* The buffer statusline points to */
struct statusline_head statusline_head = TAILQ_HEAD_INITIALIZER(statusline_head);
char *statusline_buffer = NULL;
int child_stdin;
@ -115,9 +114,6 @@ void cleanup(void) {
if (stdin_io != NULL) {
ev_io_stop(main_loop, stdin_io);
FREE(stdin_io);
FREE(statusline_buffer);
/* statusline pointed to memory within statusline_buffer */
statusline = NULL;
}
if (child_sig != NULL) {

View File

@ -171,8 +171,6 @@ int main(int argc, char **argv) {
kill_child();
FREE(statusline_buffer);
clean_xcb();
ev_default_destroy();