Skip to content
Permalink
Browse files
Fix warnings
  • Loading branch information
nyalldawson committed Nov 11, 2021
1 parent 4c2e96a commit d2bb874e644a58e1fa35d6be1477f50df22be921
Showing with 6 additions and 0 deletions.
  1. +2 −0 src/providers/db2/qgsdb2tablemodel.cpp
  2. +2 −0 src/providers/mssql/qgsmssqltablemodel.cpp
  3. +2 −0 src/providers/postgres/qgspgtablemodel.cpp
@@ -63,6 +63,8 @@ bool QgsDb2TableModel::searchableColumn( int column ) const
case DbtmSelectAtId:
return false;
}

BUILTIN_UNREACHABLE
}

void QgsDb2TableModel::addTableEntry( const QgsDb2LayerProperty &layerProperty )
@@ -65,6 +65,8 @@ bool QgsMssqlTableModel::searchableColumn( int column ) const
case DbtmView:
return false;
}

BUILTIN_UNREACHABLE
}

void QgsMssqlTableModel::addTableEntry( const QgsMssqlLayerProperty &layerProperty )
@@ -73,6 +73,8 @@ bool QgsPgTableModel::searchableColumn( int column ) const
case DbtmCheckPkUnicity:
return false;
}

BUILTIN_UNREACHABLE
}

void QgsPgTableModel::addTableEntry( const QgsPostgresLayerProperty &layerProperty )

0 comments on commit d2bb874

Please sign in to comment.