Commit df99832d authored by Eckhart Wörner's avatar Eckhart Wörner

compiler warnings--

svn path=/trunk/KDE/kdeedu/kmplot/; revision=896349
parent 55c9e051
......@@ -808,8 +808,8 @@ QList< Plot > Function::plots( PlotCombinations combinations ) const
if ( m_parameters.useList )
{
int pos = 0;
foreach ( const Value &v, m_parameters.list )
const int listsize = m_parameters.list.size();
for ( int pos = 0; pos < listsize; ++pos )
{
Parameter param( Parameter::List );
param.setListPos( pos++ );
......
......@@ -395,7 +395,6 @@ void View::draw( QPaintDevice * dev, PlotMedium medium )
// sliding the view about
painter.setRenderHint( QPainter::Antialiasing, m_zoomMode != Translating );
double numPlots = XParser::self()->m_ufkt.size();
double at = -1;
foreach ( Function * function, XParser::self()->m_ufkt )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment