[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra/calligra/2.9] krita/plugins/formats/tga: Clean-up of unused variable
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2015-11-03 17:47:52
Message-ID: E1ZtfgW-0000Bx-Ti () scm ! kde ! org
[Download RAW message or body]
Git commit 37acd3c11da3437968d95d4e580067294b437b5d by Boudewijn Rempt.
Committed on 03/11/2015 at 17:47.
Pushed by rempt into branch 'calligra/2.9'.
Clean-up of unused variable
M +0 -2 krita/plugins/formats/tga/kis_tga_import.cpp
http://commits.kde.org/calligra/37acd3c11da3437968d95d4e580067294b437b5d
diff --git a/krita/plugins/formats/tga/kis_tga_import.cpp b/krita/plugins/formats/tga/kis_tga_import.cpp
index d6213ea..e756ec3 100644
--- a/krita/plugins/formats/tga/kis_tga_import.cpp
+++ b/krita/plugins/formats/tga/kis_tga_import.cpp
@@ -125,8 +125,6 @@ static bool loadTGA(QDataStream & s, const TgaHeader & tga, QImage &img)
TgaHeaderInfo info(tga);
- // Bits 0-3 are the numbers of alpha bits (can be zero!)
- const int numAlphaBits = tga.flags & 0xf;
// However alpha exists only in the 32 bit format.
if ((tga.pixel_size == 32) && (tga.flags & 0xf)) {
img = QImage(tga.width, tga.height, QImage::Format_ARGB32);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic