From: Joel Holdsworth Date: Wed, 16 Jan 2013 18:55:52 +0000 (+0000) Subject: Supressed unused parameters X-Git-Tag: pulseview-0.1.0~161 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e314eca490a09eec9ee851787f6e8c28805a81fd;p=pulseview.git Supressed unused parameters --- diff --git a/pv/data/analog.cpp b/pv/data/analog.cpp index 9e43e866..8245186b 100644 --- a/pv/data/analog.cpp +++ b/pv/data/analog.cpp @@ -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) { diff --git a/pv/sigsession.cpp b/pv/sigsession.cpp index 03cf238a..7a0c49e5 100644 --- a/pv/sigsession.cpp +++ b/pv/sigsession.cpp @@ -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; diff --git a/pv/view/header.cpp b/pv/view/header.cpp index 63679012..a615e851 100644 --- a/pv/view/header.cpp +++ b/pv/view/header.cpp @@ -82,7 +82,7 @@ boost::shared_ptr Header::get_mouse_over_signal( return shared_ptr(); } -void Header::paintEvent(QPaintEvent *event) +void Header::paintEvent(QPaintEvent*) { const int w = width(); const vector< shared_ptr > 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(); diff --git a/pv/view/ruler.cpp b/pv/view/ruler.cpp index a442901c..ba4bd042 100644 --- a/pv/view/ruler.cpp +++ b/pv/view/ruler.cpp @@ -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); diff --git a/pv/view/view.cpp b/pv/view/view.cpp index 64ecf83a..10f6613c 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -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()); diff --git a/pv/view/viewport.cpp b/pv/view/viewport.cpp index 90f2b4b2..f39c8201 100644 --- a/pv/view/viewport.cpp +++ b/pv/view/viewport.cpp @@ -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 > sigs( _view.session().get_signals());