]> sigrok.org Git - pulseview.git/commitdiff
Removed unused parameter in DecoderStack::decode_proc
authorJoel Holdsworth <redacted>
Mon, 3 Mar 2014 09:10:37 +0000 (09:10 +0000)
committerJoel Holdsworth <redacted>
Mon, 3 Mar 2014 09:10:37 +0000 (09:10 +0000)
Change-Id: I6ac5ef33b616f8e15628eb8888148140b19ad8e1

pv/data/decoderstack.cpp
pv/data/decoderstack.h

index 2344804fd1f17d2e2490f83fa6d8df9128084f12..8284c7937c7a7ee6a68f334a587bee7374e97fcb 100644 (file)
@@ -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::Logic> data)
+void DecoderStack::decode_proc()
 {
        optional<int64_t> sample_count;
        srd_session *session;
index 073f2692565da5db9f0024d74ae4f5cb9581c48e..9c960e589972c1dd9492da78984992660ca79b86 100644 (file)
@@ -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::Logic> data);
+       void decode_proc();
 
        static void annotation_callback(srd_proto_data *pdata,
                void *decoder);