From bff321a8e6aa0049d9a70ae2fe7c875f2fa92fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 22 Jan 2008 11:26:25 +0000 Subject: [PATCH] Possible uninitialized value? CCMAIL: sandro@giessl.com svn path=/trunk/KDE/kdebase/workspace/; revision=764693 --- clients/plastik/plastikbutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/plastik/plastikbutton.cpp b/clients/plastik/plastikbutton.cpp index 26fdbd3df6..5447018a8e 100644 --- a/clients/plastik/plastikbutton.cpp +++ b/clients/plastik/plastikbutton.cpp @@ -186,7 +186,7 @@ void PlastikButton::drawButton(QPainter *painter) QColor surfaceBottom = KColorScheme::shade(titleBar, KColorScheme::LightShade, c - 0.4); QColor highlightColor = titleBar; - double alpha; + double alpha = 0; if (type() == CloseButton) { KColorScheme kcs(active ? QPalette::Active : QPalette::Inactive, KColorScheme::Button); highlightColor = kcs.foreground(KColorScheme::NegativeText).color();