From 4bba7ed8932a79219e9da966e5a8586a165a74c4 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 24 Jun 2024 22:26:18 +0200 Subject: [PATCH] [partition] Remove unused variable (it is shadowed a few lines later) --- src/modules/partition/core/PartUtils.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/partition/core/PartUtils.cpp b/src/modules/partition/core/PartUtils.cpp index 9818ea71f..8da0aee81 100644 --- a/src/modules/partition/core/PartUtils.cpp +++ b/src/modules/partition/core/PartUtils.cpp @@ -245,8 +245,6 @@ lookForFstabEntries( const QString& partitionPath ) cDebug() << "Checking device" << partitionPath << "for fstab (fs=" << r.getOutput() << ')'; - FstabEntryList fstabEntries; - Calamares::Partition::TemporaryMount mount( partitionPath, QString(), mountOptions.join( ',' ) ); if ( mount.isValid() ) {