projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49c6241
)
View: Move assertion after assignment
author
Soeren Apel
<soeren@apelpie.net>
Wed, 20 Jul 2016 06:52:50 +0000
(08:52 +0200)
committer
Soeren Apel
<soeren@apelpie.net>
Wed, 20 Jul 2016 06:52:50 +0000
(08:52 +0200)
pv/view/view.cpp
patch
|
blob
|
history
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index 9841978a67f333a6b2c5eff555e70bea98590194..a7dcc20bf94194c8011e12e64ae5e027344ef4d0 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-939,8
+939,8
@@
void View::signals_changed()
if (!session_.device()) {
reset_scroll();
} else {
- assert(sr_dev);
sr_dev = session_.device()->device();
+ assert(sr_dev);
channels = sr_dev->channels();
}