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/slideshow.c | |
parent | 03b4faf6d71f52568a0e5b61552b6c0d44b71b62 (diff) |
Fix dead code found by LLVM's scan-build utility
Diffstat (limited to 'src/slideshow.c')
-rw-r--r-- | src/slideshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slideshow.c b/src/slideshow.c index 06c73ec..8aa783c 100644 --- a/src/slideshow.c +++ b/src/slideshow.c @@ -39,7 +39,7 @@ void init_slideshow_mode(void) gib_list *l = filelist, *last = NULL; feh_file *file = NULL; - for (l = filelist; l && opt.start_list_at; l = l->next) { + for (; l && opt.start_list_at; l = l->next) { if (!strcmp(opt.start_list_at, FEH_FILE(l->data)->filename)) { opt.start_list_at = NULL; break; |