projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3c79b0
)
test: session: Fix a compiler warning/error.
author
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 11 Jun 2015 18:17:56 +0000
(20:17 +0200)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 11 Jun 2015 18:38:48 +0000
(20:38 +0200)
[ 30%] Building CXX object
test/CMakeFiles/pulseview-test.dir/__/pv/storesession.cpp.o
[...]/pv/session.cpp:408:62: error: unused parameter ‘device’ [-Werror=unused-parameter]
void Session::sample_thread_proc(shared_ptr<devices::Device> device,
pv/session.cpp
patch
|
blob
|
history
diff --git
a/pv/session.cpp
b/pv/session.cpp
index d6fef9a7eee143e0de1f3f877654f6e117066719..b5d7911fede86af41f8e17e2914bd52a875691db 100644
(file)
--- a/
pv/session.cpp
+++ b/
pv/session.cpp
@@
-411,6
+411,8
@@
void Session::sample_thread_proc(shared_ptr<devices::Device> device,
assert(device);
assert(error_handler);
+ (void)device;
+
cur_samplerate_ = device_->read_config<uint64_t>(ConfigKey::SAMPLERATE);
try {