diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-05-06 22:36:47 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-05-06 22:37:11 +0200 |
commit | 6831868212df803a53eb6dd2913c2ff3eb218197 (patch) | |
tree | 37ef8435980992ee604e1709e54304e00e3b6458 /src/imlib.c | |
parent | 03b4faf6d71f52568a0e5b61552b6c0d44b71b62 (diff) |
Fix dead code found by LLVM's scan-build utility
Diffstat (limited to 'src/imlib.c')
-rw-r--r-- | src/imlib.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); } |