Skip to content

Commit d25caf3

Browse files
committed
value stored is never read
1 parent 4dd8e6f commit d25caf3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/librawspeed/decoders/RafDecoder.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,22 +123,16 @@ void RafDecoder::decodeRawInternal() {
123123

124124
if (8UL * counts->getU32() >= 2UL * 16UL * width * height) {
125125
bps = 16;
126-
double_width = true;
127126
} else if (8UL * counts->getU32() >= 2UL * 14UL * width * height) {
128127
bps = 14;
129-
double_width = true;
130128
} else if (8UL * counts->getU32() >= 2UL * 12UL * width * height) {
131129
bps = 12;
132-
double_width = true;
133130
} else if (8UL * counts->getU32() >= 16UL * width * height) {
134131
bps = 16;
135-
double_width = false;
136132
} else if (8UL * counts->getU32() >= 14UL * width * height) {
137133
bps = 14;
138-
double_width = false;
139134
} else if (8UL * counts->getU32() >= 12UL * width * height) {
140135
bps = 12;
141-
double_width = false;
142136
} else {
143137
ThrowRDE("Can not detect bitdepth. StripByteCounts = %u, width = %u, "
144138
"height = %u",

0 commit comments

Comments
 (0)