summaryrefslogtreecommitdiffstats
path: root/src/ufodecode.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-07-05 11:15:22 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-07-05 11:15:22 +0200
commit5d3c31b9d3bb8ef93370c88b5d440c09c119342c (patch)
treee0612ed4659363bd8c702531c3f8b2497b29d2a4 /src/ufodecode.c
parent175df5819e126a4eea30b9c05d38fb504c958252 (diff)
downloadufodecode-5d3c31b9d3bb8ef93370c88b5d440c09c119342c.tar.gz
ufodecode-5d3c31b9d3bb8ef93370c88b5d440c09c119342c.tar.bz2
ufodecode-5d3c31b9d3bb8ef93370c88b5d440c09c119342c.tar.xz
ufodecode-5d3c31b9d3bb8ef93370c88b5d440c09c119342c.zip
Remove unused variables
Diffstat (limited to 'src/ufodecode.c')
-rw-r--r--src/ufodecode.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ufodecode.c b/src/ufodecode.c
index a778bd5..2641ea5 100644
--- a/src/ufodecode.c
+++ b/src/ufodecode.c
@@ -526,9 +526,6 @@ size_t ufo_decoder_decode_frame(ufo_decoder decoder, uint32_t *raw,
const int version = (raw[pos+6] >> 24) & 0xF;
#ifdef DEBUG
- int starting_row = 0;
- int num_skipped_rows = 0;
-
CHECK_VALUE(raw[pos++], 0x51111111);
CHECK_VALUE(raw[pos++], 0x52222222);
CHECK_VALUE(raw[pos++], 0x53333333);
@@ -547,8 +544,6 @@ size_t ufo_decoder_decode_frame(ufo_decoder decoder, uint32_t *raw,
case 4:
case 5:
CHECK_VALUE(raw[pos] >> 28, 0x5);
- starting_row = (raw[pos] >> 18) & 0x3FF;
- num_skipped_rows = (raw[pos] >> 11) & 0x7F;
rows_per_frame = raw[pos] & 0x7FF;
pos++;
*frame_number = raw[pos++] & 0x1FFFFFF;