From 6831868212df803a53eb6dd2913c2ff3eb218197 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 6 May 2014 22:36:47 +0200 Subject: Fix dead code found by LLVM's scan-build utility --- src/imlib.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/imlib.c') diff --git a/src/imlib.c b/src/imlib.c index 69962ee..c8bb993 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -958,7 +958,6 @@ void feh_draw_caption(winwidget w) feh_imlib_image_fill_text_bg(im, tw, th); l = lines; - x = 0; y = 0; while (l) { p = (char *) l->data; @@ -1153,7 +1152,6 @@ gib_list *feh_wrap_string(char *text, int wrap_width, Imlib_Font fn, gib_style * list = gib_list_add_end(list, estrdup(line)); free(line); line = NULL; - line_width = 0; } gib_list_free_and_data(words); } -- cgit v1.2.3