From 97e44f971d0a003aacaa82aebd64baa698325aea Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 4 Jul 2019 16:23:21 +0200 Subject: [PATCH] [initramfs] That's not a safety setting - Don't confuse a method declaration with an object. - Thanks clang for warning me. --- src/modules/initramfs/InitramfsJob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/initramfs/InitramfsJob.cpp b/src/modules/initramfs/InitramfsJob.cpp index c04174837..d8a9ed6c3 100644 --- a/src/modules/initramfs/InitramfsJob.cpp +++ b/src/modules/initramfs/InitramfsJob.cpp @@ -41,7 +41,7 @@ InitramfsJob::prettyName() const Calamares::JobResult InitramfsJob::exec() { - CalamaresUtils::UMask( CalamaresUtils::UMask::Safe ); + CalamaresUtils::UMask m( CalamaresUtils::UMask::Safe ); cDebug() << "Updating initramfs with kernel" << m_kernel; auto r = CalamaresUtils::System::instance()->targetEnvCommand(