summaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/slideshow.c')
-rw-r--r--src/slideshow.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/slideshow.c b/src/slideshow.c
index 0d84c1d..25fca03 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -172,7 +172,6 @@ void feh_reload_image(winwidget w, int resize, int force_new)
void slideshow_change_image(winwidget winwid, int change)
{
- int success = 0;
gib_list *last = NULL;
int i = 0;
int jmp = 1;
@@ -253,7 +252,6 @@ void slideshow_change_image(winwidget winwid, int change)
if ((winwidget_loadimage(winwid, FEH_FILE(current_file->data)))
!= 0) {
- success = 1;
winwid->mode = MODE_NORMAL;
winwid->file = current_file;
if ((winwid->im_w != gib_imlib_image_get_width(winwid->im))