summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-07-26 12:13:41 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-07-26 12:13:41 +0200
commitd05fffb8dbb1bdaa4fca641f347eff8747945838 (patch)
treee06282448d2173b855ae217e030b18c58ab23999 /src
parent7fbf8ce846411cd39f8322d9f3f6ce2676b16bfe (diff)
downloadlibufodecode-d05fffb8dbb1bdaa4fca641f347eff8747945838.tar.gz
libufodecode-d05fffb8dbb1bdaa4fca641f347eff8747945838.tar.bz2
libufodecode-d05fffb8dbb1bdaa4fca641f347eff8747945838.tar.xz
libufodecode-d05fffb8dbb1bdaa4fca641f347eff8747945838.zip
Remove unused variable
Otherwise, builds break on more recent gcc compilers.
Diffstat (limited to 'src')
-rw-r--r--src/ufodecode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ufodecode.c b/src/ufodecode.c
index 22d35e2..ae5d8e3 100644
--- a/src/ufodecode.c
+++ b/src/ufodecode.c
@@ -157,7 +157,6 @@ ufo_decode_frame_channels_v0(UfoDecoder *decoder,
int pixels = (info >> 20) & 0xFF;
#ifdef CHECKS
- int err = 0;
int header = (info >> 30) & 0x03;
const int bpp = (info >> 16) & 0x0F;
CHECK_FLAG("raw header magick", header == 2, header);