From 460b82efc3213d038013883c473d58ba49e87796 Mon Sep 17 00:00:00 2001 From: QC Date: Sat, 24 Jan 2015 16:41:18 +0100 Subject: [PATCH] Fix unused variables. --- source/rofi.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/rofi.c b/source/rofi.c index bea9cc30..78fa8723 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -390,7 +390,6 @@ static void create_visual_and_colormap () */ static unsigned int color_get ( Display *display, const char *const name ) { - int screen_id = DefaultScreen ( display ); XColor color = { 0, }; // Special format. if ( strncmp ( name, "argb:", 5 ) == 0 ) { @@ -865,10 +864,6 @@ static void window_set_opacity ( Display *display, Window box, unsigned int opac Window create_window ( Display *display ) { - Screen *screen = DefaultScreenOfDisplay ( display ); - Window root = RootWindow ( display, XScreenNumberOfScreen ( screen ) ); - - XSetWindowAttributes attr; attr.colormap = map; attr.border_pixel = color_get ( display, config.menu_bc );