From 738b40ff34378e76c67638471972d30def90ebd0 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Mon, 26 Oct 2026 17:49:29 -0400 Subject: [PATCH] scidoublespinbox: Mark conversion result as unused Explicitly discard the numeric conversion result while retaining the ok status check used to validate the input. Identified by GCC compiler warning. Signed-off-by: Robin Getz --- sdrgui/gui/scidoublespinbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdrgui/gui/scidoublespinbox.cpp b/sdrgui/gui/scidoublespinbox.cpp index 5a0f0d01a..65a94e922 100644 --- a/sdrgui/gui/scidoublespinbox.cpp +++ b/sdrgui/gui/scidoublespinbox.cpp @@ -35,7 +35,7 @@ QValidator::State SciDoubleSpinBox::validate(QString &input, int &pos) const (void) pos; bool ok; - input.toDouble(&ok); + (void) input.toDouble(&ok); if (ok) { return QValidator::Acceptable; }