diff --git a/common/stp.ui b/common/stp.ui
index b21085d..c05919c 100644
--- a/common/stp.ui
+++ b/common/stp.ui
@@ -463,7 +463,6 @@
-
-
@@ -481,8 +480,6 @@
groupBox_4
-
- verticalSpacer_3
ui_protocol_id
diff --git a/common/stpconfig.cpp b/common/stpconfig.cpp
index 3ab4096..ba161e8 100644
--- a/common/stpconfig.cpp
+++ b/common/stpconfig.cpp
@@ -45,7 +45,7 @@ public:
: QValidator(parent), min_(min), max_(max){}
virtual ~UNumberValidator(){}
- virtual QValidator::State validate(QString& input, int& pos) const
+ virtual QValidator::State validate(QString& input, int& /*pos*/) const
{
QValidator::State state = QValidator::Acceptable;
quint64 val = input.toULongLong();