projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b0c2d
)
Removed uneeded statements from LogicDataSnapshot
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 13 Oct 2012 21:14:36 +0000
(22:14 +0100)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 20 Oct 2012 17:29:24 +0000
(18:29 +0100)
pv/logicdatasnapshot.cpp
patch
|
blob
|
history
diff --git
a/pv/logicdatasnapshot.cpp
b/pv/logicdatasnapshot.cpp
index b78047d761ca29c351c1300230aa94553cf5434b..1799c2f418f14daf27670d9f06b4b8549442ac8a 100644
(file)
--- a/
pv/logicdatasnapshot.cpp
+++ b/
pv/logicdatasnapshot.cpp
@@
-206,8
+206,7
@@
void LogicDataSnapshot::get_subsampled_edges(
const uint64_t final_index = min(end,
pow2_ceil(index, MipMapScalePower));
- for(index;
- index < final_index &&
+ for(; index < final_index &&
(index & ~(~0 << MipMapScalePower)) != 0;
index++)
{
@@
-312,7
+311,7
@@
void LogicDataSnapshot::get_subsampled_edges(
// do a linear search for the next transition within the
// block
if(min_length < MipMapScaleFactor) {
- for(
index
; index < end; index++) {
+ for(; index < end; index++) {
const bool sample = (get_sample(index) &
sig_mask) != 0;
if(sample != last_sample)