Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 11, 2021
1 parent 4c2e96a commit d2bb874
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/db2/qgsdb2tablemodel.cpp
Expand Up @@ -63,6 +63,8 @@ bool QgsDb2TableModel::searchableColumn( int column ) const
case DbtmSelectAtId:
return false;
}

BUILTIN_UNREACHABLE
}

void QgsDb2TableModel::addTableEntry( const QgsDb2LayerProperty &layerProperty )
Expand Down
2 changes: 2 additions & 0 deletions src/providers/mssql/qgsmssqltablemodel.cpp
Expand Up @@ -65,6 +65,8 @@ bool QgsMssqlTableModel::searchableColumn( int column ) const
case DbtmView:
return false;
}

BUILTIN_UNREACHABLE
}

void QgsMssqlTableModel::addTableEntry( const QgsMssqlLayerProperty &layerProperty )
Expand Down
2 changes: 2 additions & 0 deletions src/providers/postgres/qgspgtablemodel.cpp
Expand Up @@ -73,6 +73,8 @@ bool QgsPgTableModel::searchableColumn( int column ) const
case DbtmCheckPkUnicity:
return false;
}

BUILTIN_UNREACHABLE
}

void QgsPgTableModel::addTableEntry( const QgsPostgresLayerProperty &layerProperty )
Expand Down

0 comments on commit d2bb874

Please sign in to comment.