From: Joel Holdsworth Date: Mon, 3 Mar 2014 09:10:37 +0000 (+0000) Subject: Removed unused parameter in DecoderStack::decode_proc X-Git-Tag: pulseview-0.2.0~34 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c1b2865ea8b10c4b41360b2fd1974a8bebaa0dea;p=pulseview.git Removed unused parameter in DecoderStack::decode_proc Change-Id: I6ac5ef33b616f8e15628eb8888148140b19ad8e1 --- diff --git a/pv/data/decoderstack.cpp b/pv/data/decoderstack.cpp index 2344804f..8284c793 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 073f2692..9c960e58 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);