From c1b2865ea8b10c4b41360b2fd1974a8bebaa0dea Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Mon, 3 Mar 2014 09:10:37 +0000 Subject: [PATCH] Removed unused parameter in DecoderStack::decode_proc Change-Id: I6ac5ef33b616f8e15628eb8888148140b19ad8e1 --- pv/data/decoderstack.cpp | 5 ++--- pv/data/decoderstack.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index 2344804..8284c79 100644 --- a/pv/data/decoderstack.cpp +++ b/pv/data/decoderstack.cpp @@ -249,8 +249,7 @@ void DecoderStack::begin_decode() if (_samplerate == 0.0) _samplerate = 1.0; - _decode_thread = boost::thread(&DecoderStack::decode_proc, this, - data); + _decode_thread = boost::thread(&DecoderStack::decode_proc, this); } uint64_t DecoderStack::get_max_sample_count() const @@ -312,7 +311,7 @@ void DecoderStack::decode_data( new_decode_data(); } -void DecoderStack::decode_proc(shared_ptr data) +void DecoderStack::decode_proc() { optional sample_count; srd_session *session; diff --git a/pv/data/decoderstack.h b/pv/data/decoderstack.h index 073f269..9c960e5 100644 --- a/pv/data/decoderstack.h +++ b/pv/data/decoderstack.h @@ -109,7 +109,7 @@ private: void decode_data(const int64_t sample_count, const unsigned int unit_size, srd_session *const session); - void decode_proc(boost::shared_ptr data); + void decode_proc(); static void annotation_callback(srd_proto_data *pdata, void *decoder); -- 2.30.2