]> sigrok.org Git - pulseview.git/commitdiff
Supressed unused parameters
authorJoel Holdsworth <redacted>
Wed, 16 Jan 2013 18:55:52 +0000 (18:55 +0000)
committerJoel Holdsworth <redacted>
Wed, 16 Jan 2013 18:55:52 +0000 (18:55 +0000)
pv/data/analog.cpp
pv/sigsession.cpp
pv/view/header.cpp
pv/view/ruler.cpp
pv/view/view.cpp
pv/view/viewport.cpp

index 9e43e866ff72d14477b0777abfb79c07ba56ccd3..8245186b97ab21af6b89d8d9f54e4137bbd519a6 100644 (file)
@@ -27,7 +27,7 @@ using namespace std;
 namespace pv {
 namespace data {
 
-Analog::Analog(const sr_datafeed_meta_analog &meta,
+Analog::Analog(const sr_datafeed_meta_analog&,
        uint64_t samplerate) :
        SignalData(samplerate)
 {
index 03cf238ac42f11b766979a4d6068e5ac995ae10b..7a0c49e5479f5a899db3d14090f89b022ca608da 100644 (file)
@@ -215,7 +215,7 @@ void SigSession::feed_in_meta_logic(const struct sr_dev_inst *sdi,
        }
 }
 
-void SigSession::feed_in_meta_analog(const struct sr_dev_inst *sdi,
+void SigSession::feed_in_meta_analog(const struct sr_dev_inst*,
        const sr_datafeed_meta_analog &meta_analog)
 {
        using view::AnalogSignal;
index 63679012a52947d92b7d1fc67f40948a042f339b..a615e8513e7ff04d95b1b56af7c24299858af4c9 100644 (file)
@@ -82,7 +82,7 @@ boost::shared_ptr<pv::view::Signal> Header::get_mouse_over_signal(
        return shared_ptr<Signal>();
 }
 
-void Header::paintEvent(QPaintEvent *event)
+void Header::paintEvent(QPaintEvent*)
 {
        const int w = width();
        const vector< shared_ptr<Signal> > sigs(
@@ -200,7 +200,7 @@ void Header::mouseMoveEvent(QMouseEvent *event)
        update();
 }
 
-void Header::leaveEvent(QEvent *event)
+void Header::leaveEvent(QEvent*)
 {
        _mouse_point = QPoint(-1, -1);
        update();
index a442901c3e9c76645e44da9a5a9bd5dd18ca8df9..ba4bd042393ec0590e9e2942ece671fa8a3aa2b6 100644 (file)
@@ -58,7 +58,7 @@ Ruler::Ruler(View &parent) :
                this, SLOT(hover_point_changed()));
 }
 
-void Ruler::paintEvent(QPaintEvent *event)
+void Ruler::paintEvent(QPaintEvent*)
 {
        QPainter p(this);
        p.setRenderHint(QPainter::Antialiasing);
index 64ecf83a6079ba4362496077299f26f3f0581233..10f6613c55da3fd2f362e51c67ff365a708b4359 100644 (file)
@@ -279,7 +279,7 @@ bool View::viewportEvent(QEvent *e)
        }
 }
 
-void View::resizeEvent(QResizeEvent *e)
+void View::resizeEvent(QResizeEvent*)
 {
        _ruler->setGeometry(_viewport->x(), 0,
                _viewport->width(), _viewport->y());
index 90f2b4b2a5a922d63a7931e47d9482c621f4d088..f39c8201421d43956e5b6e3bc72c2768ab0cf365 100644 (file)
@@ -59,7 +59,7 @@ int Viewport::get_total_height() const
        return h;
 }
 
-void Viewport::paintEvent(QPaintEvent *event)
+void Viewport::paintEvent(QPaintEvent*)
 {
        const vector< shared_ptr<Signal> > sigs(
                _view.session().get_signals());