diff --git a/source/rofi.c b/source/rofi.c index 52e3d9b4..c3291fe2 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -847,7 +847,6 @@ void menu_draw ( textbox **boxes, { char *text = filtered[i + offset]; TextBoxFontType tbft = ( i + offset ) == selected ? HIGHLIGHT : NORMAL; - char *font = config.menu_font; // Check for active if ( text[0] == '*' ) { diff --git a/source/textbox.c b/source/textbox.c index 2bfd34a7..eabb7c05 100644 --- a/source/textbox.c +++ b/source/textbox.c @@ -73,8 +73,6 @@ textbox* textbox_create ( Window parent, tb->w = MAX ( 1, w ); tb->h = MAX ( 1, h ); - XColor color; - Colormap map = DefaultColormap ( display, DefaultScreen ( display ) ); unsigned int cp = ( tbft == NORMAL ) ? color_bg.pixel : color_hlbg.pixel; tb->window = XCreateSimpleWindow ( display, tb->parent, tb->x, tb->y, tb->w, tb->h, 0, None, cp );