projects
/
model-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b7cd08
)
remove dead code... loop entrance condition is i<backtrack.size(). Therefore,
author
Brian Demsky
<bdemsky@uci.edu>
Tue, 17 Jul 2012 05:26:54 +0000
(22:26 -0700)
committer
Brian Demsky
<bdemsky@uci.edu>
Tue, 17 Jul 2012 05:26:54 +0000
(22:26 -0700)
this branch can never be taken. remove it as it is confusing.
nodestack.cc
patch
|
blob
|
history
diff --git
a/nodestack.cc
b/nodestack.cc
index
2416ed7
..
131452d
100644
(file)
--- a/
nodestack.cc
+++ b/
nodestack.cc
@@
-109,8
+109,6
@@
thread_id_t Node::get_next_backtrack()
for (i = 0; i < backtrack.size(); i++)
if (backtrack[i] == true)
break;
- if (i >= backtrack.size())
- return THREAD_ID_T_NONE;
backtrack[i] = false;
numBacktracks--;
return int_to_id(i);