Skip to content
Permalink
Browse files

oracle provider: fix warnings

  • Loading branch information
jef-n committed Jan 5, 2017
1 parent c85f593 commit fba097c53c93acad88b0a1c81fa30f7f34417f2e
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/providers/oracle/qgsoracleconn.cpp
@@ -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" );
@@ -630,6 +632,9 @@ QString QgsOracleConn::displayStringForWkbType( QgsWkbTypes::Type type )

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

default:
break;
}

Q_ASSERT( !"unexpected wkbType" );

0 comments on commit fba097c

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