Skip to content

Commit

Permalink
fix assertion in gps detector
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@14340 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Oct 5, 2010
1 parent 9f79f6f commit dd7df18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/gps/qgsgpsdetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void QgsGPSDetector::advance()

QStringList gpsParams = mPortList[ mPortIndex ].first.split( ":" );

Q_ASSERT( gpsParams.size() == 3 );
Q_ASSERT( gpsParams.size() >= 3 );

mConn = new QgsGpsdConnection( gpsParams[0], gpsParams[1].toInt(), gpsParams[2] );
}
Expand Down

0 comments on commit dd7df18

Please sign in to comment.