Skip to content
Permalink
Browse files

fix warnings

  • Loading branch information
jef-n committed Jul 8, 2013
1 parent ca1192d commit 9ca03549278e21100feb2cec8a6f926f2aa4e5b1
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/delimitedtext/qgsdelimitedtextprovider.cpp
@@ -1206,7 +1206,7 @@ void QgsDelimitedTextProvider::fetchAttribute( QgsFeature& feature, int fieldIdx
{
case QVariant::Int:
{
int ivalue;
int ivalue = 0;
bool ok = false;
if ( ! value.isEmpty() ) ivalue = value.toInt( &ok );
if ( ok )
@@ -1217,7 +1217,7 @@ void QgsDelimitedTextProvider::fetchAttribute( QgsFeature& feature, int fieldIdx
}
case QVariant::Double:
{
double dvalue;
double dvalue = 0.0;
bool ok = false;
if ( ! value.isEmpty() )
{

0 comments on commit 9ca0354

Please sign in to comment.
You can’t perform that action at this time.