Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
oracle provider: fix warnings
  • Loading branch information
jef-n committed Jan 5, 2017
1 parent c85f593 commit fba097c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/providers/oracle/qgsoracleconn.cpp
Expand Up @@ -527,6 +527,8 @@ QString QgsOracleConn::databaseTypeFilter( QString alias, QString geomCol, QgsWk
case QgsWkbTypes::Unknown:
Q_ASSERT( !"unknown geometry unexpected" );
return QString::null;
default:
break;
}

Q_ASSERT( !"unexpected geomType" );
Expand Down Expand Up @@ -630,6 +632,9 @@ QString QgsOracleConn::displayStringForWkbType( QgsWkbTypes::Type type )

case QgsWkbTypes::Unknown:
return tr( "Unknown Geometry" );

default:
break;
}

Q_ASSERT( !"unexpected wkbType" );
Expand Down

0 comments on commit fba097c

Please sign in to comment.