diff mbox series

[v4l-utils,v1,1/4] qv4l2: remove unused local variables 'QString what'

Message ID 20231116122402.28730-1-ps.report@gmx.net
State New
Headers show
Series [v4l-utils,v1,1/4] qv4l2: remove unused local variables 'QString what' | expand

Commit Message

Peter Seiderer Nov. 16, 2023, 12:23 p.m. UTC
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 utils/qv4l2/ctrl-tab.cpp | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/utils/qv4l2/ctrl-tab.cpp b/utils/qv4l2/ctrl-tab.cpp
index cfdecdeb..dcf014a8 100644
--- a/utils/qv4l2/ctrl-tab.cpp
+++ b/utils/qv4l2/ctrl-tab.cpp
@@ -704,7 +704,6 @@  void ApplicationWindow::refresh()
 void ApplicationWindow::setWhat(QWidget *w, unsigned id, const QString &v)
 {
 	const v4l2_query_ext_ctrl &qec = m_ctrlMap[id];
-	QString what;
 	QString flags = getCtrlFlags(qec.flags);
 
 	switch (qec.type) {
@@ -725,7 +724,6 @@  void ApplicationWindow::setWhat(QWidget *w, unsigned id, const QString &v)
 void ApplicationWindow::setWhat(QWidget *w, unsigned id, long long v)
 {
 	const v4l2_query_ext_ctrl &qec = m_ctrlMap[id];
-	QString what;
 	QString flags = getCtrlFlags(qec.flags);
 
 	switch (qec.type) {