From 5b25c97589a67c71bfac47a521970a4db9ad44d0 Mon Sep 17 00:00:00 2001 From: Uwe Date: Wed, 27 Jul 2022 01:35:08 +0200 Subject: [PATCH] [Gui] fix unreferenced local variable warning - fixes: warning C4101: 'e': unreferenced local variable --- src/Gui/InputField.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/InputField.cpp b/src/Gui/InputField.cpp index 5029e578d0..6839c10ce4 100644 --- a/src/Gui/InputField.cpp +++ b/src/Gui/InputField.cpp @@ -652,7 +652,7 @@ void InputField::focusOutEvent(QFocusEvent *event) actQuantity = actQuantity * factor; } } - catch (const Base::ParserError& e) { + catch (const Base::ParserError&) { // do nothing, let apply the last known good value } this->setText(actQuantity.getUserString());