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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Peter Seiderer <ps.report@xxxxxxx>
---
 utils/qv4l2/ctrl-tab.cpp | 2 --
 1 file changed, 2 deletions(-)

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) {
-- 
2.42.1


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux