summaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-10 19:38:16 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-10 19:38:16 +0200
commit72fc88a9a11f73817d8dc609a4c104ca0445722d (patch)
tree0f989ecce2712f7196706253349b561012d0fb2b /src/slideshow.c
parentae1de0d884fbe931914e04c7a191b932b7a5904c (diff)
Remove unused variables
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))