From: vsr Date: Thu, 6 Oct 2011 14:34:21 +0000 (+0000) Subject: Fix compilation warning X-Git-Tag: V6_4_0a1~45 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59172679bb42ecb616d7c810b61faf2b7937c614;p=modules%2Fgui.git Fix compilation warning --- diff --git a/src/Qtx/Qtx.cxx b/src/Qtx/Qtx.cxx index 5f3c83c41..fd1993b3e 100755 --- a/src/Qtx/Qtx.cxx +++ b/src/Qtx/Qtx.cxx @@ -1166,7 +1166,7 @@ bool Qtx::stringToBiColor( const QString& str, QColor& color, int& delta ) { QStringList data = str.split( "|", QString::KeepEmptyParts ); QColor c; - int d; + int d = 0; bool ok = data.count() > 0 && Qtx::stringToColor( data[0], c ); bool dok = false; if ( data.count() > 1 ) d = data[1].toInt( &dok );