From: Jaroslav Kysela Date: Fri, 11 Mar 2016 09:43:10 +0000 (+0100) Subject: imagecache: fix compilation error (mono variable) when not enabled X-Git-Tag: v4.2.1~884 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=422608af2c419594fffa2a0c28ee38aed4048d80;p=thirdparty%2Ftvheadend.git imagecache: fix compilation error (mono variable) when not enabled --- diff --git a/src/imagecache.c b/src/imagecache.c index b87057757..acb94ca9c 100644 --- a/src/imagecache.c +++ b/src/imagecache.c @@ -642,7 +642,6 @@ imagecache_open ( uint32_t id ) imagecache_image_t skel, *i; char *fn; int fd = -1; - int64_t mono; lock_assert(&global_lock); @@ -662,6 +661,7 @@ imagecache_open ( uint32_t id ) #if ENABLE_IMAGECACHE else if (imagecache_conf.enabled) { int e; + int64_t mono; /* Use existing */ if (i->updated) {