projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
923f8b2
)
SigSession: Replaced do { } while(0) with { }
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Thu, 13 Nov 2014 12:31:28 +0000
(12:31 +0000)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Thu, 13 Nov 2014 18:34:38 +0000
(19:34 +0100)
pv/sigsession.cpp
patch
|
blob
|
history
diff --git
a/pv/sigsession.cpp
b/pv/sigsession.cpp
index 1d424c000bf3972a8c697534af02522a05d99591..eb4cd5138bd23bca0f616305f066a972b18da5ac 100644
(file)
--- a/
pv/sigsession.cpp
+++ b/
pv/sigsession.cpp
@@
-348,7
+348,7
@@
void SigSession::update_signals(shared_ptr<Device> device)
}
// Make the Signals list
-
do
{
+ {
lock_guard<mutex> lock(_signals_mutex);
_signals.clear();
@@
-380,7
+380,7
@@
void SigSession::update_signals(shared_ptr<Device> device)
_signals.push_back(signal);
}
- }
while(0);
+ }
signals_changed();
}