From 5d1b94a7081aabda3b8a68f926c283404a133526 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Tue, 24 Oct 2023 22:14:26 +0200 Subject: [PATCH] libcalamares: don't name unused parameters --- src/libcalamares/python/PythonJob.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcalamares/python/PythonJob.cpp b/src/libcalamares/python/PythonJob.cpp index b41b6c3ab..ba6a38ee4 100644 --- a/src/libcalamares/python/PythonJob.cpp +++ b/src/libcalamares/python/PythonJob.cpp @@ -40,7 +40,7 @@ getPrettyNameFromScope( const py::dict& scope ) const auto s = func().cast< std::string >(); return QString::fromUtf8( s.c_str() ); } - catch ( const py::cast_error& e ) + catch ( const py::cast_error& ) { // Ignore, we will try __doc__ next } @@ -62,7 +62,7 @@ getPrettyNameFromScope( const py::dict& scope ) } // __doc__ is apparently empty, try next fallback } - catch ( const py::cast_error& e ) + catch ( const py::cast_error& ) { // Ignore, try next fallback }