BeDecorator: remove dead assignment
Pointed out by clang static analyzer. Change-Id: Ib91123f70bc07666737bbfedbb794ff43ac39905 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3287 Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
93c530009c
commit
8e71287b6f
@@ -1204,7 +1204,6 @@ BeDecorator::_GetBitmapForButton(Decorator::Tab* tab, Component item,
|
|||||||
} else {
|
} else {
|
||||||
// draw combined inner and outer shadow
|
// draw combined inner and outer shadow
|
||||||
data = fBigZoomBitmap->Bits();
|
data = fBigZoomBitmap->Bits();
|
||||||
size = sizeof(kBigOuterShadowBits);
|
|
||||||
for (size_t i = 0; i < sizeof(kBigOuterShadowBits); i++) {
|
for (size_t i = 0; i < sizeof(kBigOuterShadowBits); i++) {
|
||||||
offset = i * 4;
|
offset = i * 4;
|
||||||
if (kBigOuterShadowBits[i] == 0) {
|
if (kBigOuterShadowBits[i] == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user