Salome HOME
#18963 Minimize compiler warnings
[modules/gui.git] / src / SUIT / SUIT_TreeModel.cxx
index 4af8769d5bd04bf95308275dcd62071c85d298be..d5a4cd1422f1c464068e703914b4f18e6b8a2361 100644 (file)
@@ -658,7 +658,7 @@ void SUIT_TreeModel::setHeaderFlags( const QString& name, const Qtx::HeaderViewF
 */
 Qtx::HeaderViewFlags SUIT_TreeModel::headerFlags( const QString& name ) const
 {
-  Qtx::HeaderViewFlags flags;
+  Qtx::HeaderViewFlags flags = Qtx::ShowNone;
   for ( int i = 0, n = myColumns.size(); i < n; i++ ) {
     if ( myColumns[i].myName == name ) {
       flags = myColumns[i].myHeaderFlags;
@@ -1728,7 +1728,7 @@ QMimeData* SUIT_TreeModel::mimeData( const QModelIndexList& indexes ) const
 }
 
 bool SUIT_TreeModel::dropMimeData( const QMimeData* data, Qt::DropAction action,
-                                   int row, int column, const QModelIndex& parent )
+                                   int row, int /*column*/, const QModelIndex& parent )
 {
   if ( action == Qt::IgnoreAction )
     // do nothing with data