projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
793f809
)
Initialise sample_rate in pv::SigSession::feed_in_header
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 9 Mar 2013 15:36:28 +0000
(15:36 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 9 Mar 2013 17:03:28 +0000
(17:03 +0000)
This resolves the compile failure reported by arekm
pv/sigsession.cpp
patch
|
blob
|
history
diff --git
a/pv/sigsession.cpp
b/pv/sigsession.cpp
index fc26a23d784b0f5b2c11fecf993e01358f582428..6a69fdca2b99970aa0a86234a92fc0336dcb33c0 100644
(file)
--- a/
pv/sigsession.cpp
+++ b/
pv/sigsession.cpp
@@
-172,7
+172,7
@@
void SigSession::sample_thread_proc(struct sr_dev_inst *sdi,
void SigSession::feed_in_header(const sr_dev_inst *sdi)
{
shared_ptr<view::Signal> signal;
- uint64_t *sample_rate;
+ uint64_t *sample_rate
= NULL
;
unsigned int logic_probe_count = 0;
unsigned int analog_probe_count = 0;