(wrong string) ünnich

From: <git_AT_suckless.org>
Date: Wed, 28 Dec 2016 19:19:24 +0100 (CET)

commit 1c260e701b30c95f1be02e5cd3291ebde2a529f4
Author: Bert Münnich <ber.t_AT_posteo.de>
AuthorDate: Wed Dec 28 19:16:19 2016 +0100
Commit: Bert Münnich <ber.t_AT_posteo.de>
CommitDate: Wed Dec 28 19:18:16 2016 +0100

    Fix unused-variable warnings in conditionally compiled code

diff --git a/Makefile b/Makefile
index 3ec9ccf..3d7834e 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -1,4 +1,4 @@
-VERSION := git-20161201
+VERSION := git-20161228
 
 PREFIX := /usr/local
 MANPREFIX := $(PREFIX)/share/man
diff --git a/thumbs.c b/thumbs.c
index 43bb50c..4f6c181 100644
--- a/thumbs.c
+++ b/thumbs.c
_AT_@ -232,11 +232,9 @@ Imlib_Image tns_scale_down(Imlib_Image im, int dim)
 
 bool tns_load(tns_t *tns, int n, bool force, bool cache_only)
 {
- int w, h;
         int maxwh = thumb_sizes[ARRLEN(thumb_sizes)-1];
         bool cache_hit = false;
         char *cfile;
- float zw, zh;
         thumb_t *t;
         fileinfo_t *file;
         struct stat st;
_AT_@ -273,8 +271,9 @@ bool tns_load(tns_t *tns, int n, bool force, bool cache_only)
                         }
 #if HAVE_LIBEXIF
                 } else if (!force) {
- int pw = 0, ph = 0, x = 0, y = 0;
+ int pw = 0, ph = 0, w, h, x = 0, y = 0;
                         bool err;
+ float zw, zh;
                         ExifData *ed;
                         ExifEntry *entry;
                         ExifContent *ifd;
Received on Wed Dec 28 2016 - 19:19:24 CET

This archive was generated by hypermail 2.3.0 : Wed Dec 28 2016 - 19:24:22 CET