summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-16 23:30:08 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-17 03:16:10 +0200
commit1f96d6ac964697a98fe5ae1e34d07008b0b89dd9 (patch)
tree4070b5e4202ea783de7d19c1b3b5397758932b71
parent6f757249bb9f3dc7b5f1a0fb892bc52a462c3f0a (diff)
pass -Wall -Wextra -pedantic
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.h2
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp2
-rw-r--r--ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp2
-rw-r--r--ftnoir_filter_ewma2/ftnoir_filter_ewma2.h5
-rw-r--r--ftnoir_filter_ewma2/ftnoir_filter_ewma2_dialog.cpp2
5 files changed, 6 insertions, 7 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.h b/ftnoir_filter_accela/ftnoir_filter_accela.h
index 3dae7580..86baf72f 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.h
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.h
@@ -67,7 +67,7 @@ class FTNOIR_FILTER_BASE_EXPORT FilterControls: public QWidget, public IFilterDi
public:
explicit FilterControls();
virtual ~FilterControls();
- void showEvent ( QShowEvent * event );
+ void showEvent (QShowEvent *);
void Initialize(QWidget *parent);
void registerFilter(IFilter* filter);
void unregisterFilter();
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp b/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
index c5cebb32..6ae1e4bc 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela_dialog.cpp
@@ -91,7 +91,7 @@ void FilterControls::doOK() {
}
// override show event
-void FilterControls::showEvent ( QShowEvent * event ) {
+void FilterControls::showEvent ( QShowEvent * ) {
}
//
diff --git a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp
index 6bf2396a..3b208ef2 100644
--- a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp
+++ b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp
@@ -81,7 +81,7 @@ void FTNoIR_Filter::loadSettings() {
void FTNoIR_Filter::FilterHeadPoseData(const double *target_camera_position,
double *new_camera_position,
- const double *last_post_filter)
+ const double *)
{
double delta;
double new_alpha;
diff --git a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h
index e3a264be..656b2895 100644
--- a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h
+++ b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.h
@@ -45,8 +45,7 @@ public:
void Initialize() {}
void FilterHeadPoseData(const double *target_camera_position,
- double *new_camera_position,
- const double *last_post_filter);
+ double *new_camera_position, const double *);
void receiveSettings(double smin, double smax, double sexpt);
private:
@@ -75,7 +74,7 @@ class FilterControls: public QWidget, public IFilterDialog
public:
explicit FilterControls();
virtual ~FilterControls();
- void showEvent ( QShowEvent * event );
+ void showEvent (QShowEvent *);
void Initialize(QWidget *parent);
void registerFilter(IFilter* flt);
void unregisterFilter();
diff --git a/ftnoir_filter_ewma2/ftnoir_filter_ewma2_dialog.cpp b/ftnoir_filter_ewma2/ftnoir_filter_ewma2_dialog.cpp
index f4b8aad2..c304eb0a 100644
--- a/ftnoir_filter_ewma2/ftnoir_filter_ewma2_dialog.cpp
+++ b/ftnoir_filter_ewma2/ftnoir_filter_ewma2_dialog.cpp
@@ -99,7 +99,7 @@ void FilterControls::doOK() {
}
// override show event
-void FilterControls::showEvent ( QShowEvent * event ) {
+void FilterControls::showEvent ( QShowEvent * ) {
loadSettings();
}