summaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-05-06 22:36:47 +0200
committerDaniel Friesel <derf@finalrewind.org>2014-05-06 22:37:11 +0200
commit6831868212df803a53eb6dd2913c2ff3eb218197 (patch)
tree37ef8435980992ee604e1709e54304e00e3b6458 /src/slideshow.c
parent03b4faf6d71f52568a0e5b61552b6c0d44b71b62 (diff)
Fix dead code found by LLVM's scan-build utility
Diffstat (limited to 'src/slideshow.c')
-rw-r--r--src/slideshow.c2
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;