projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c3eb5
)
model: simple refactoring
author
Brian Norris
<banorris@uci.edu>
Fri, 15 Feb 2013 20:17:06 +0000
(12:17 -0800)
committer
Brian Norris
<banorris@uci.edu>
Fri, 15 Feb 2013 22:55:02 +0000
(14:55 -0800)
This condition is useless. We can just return next_thrd directly.
model.cc
patch
|
blob
|
history
diff --git
a/model.cc
b/model.cc
index 856a33d2cdfa13d2db741797d4fc0f1681a9fd04..cc035084b036015b94181ef7c61b17d2bbf77f65 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-2744,10
+2744,6
@@
Thread * ModelChecker::take_step(ModelAction *curr)
return model_thread;
}
- /* next_thrd == NULL -> don't take any more steps */
- if (!next_thrd)
- return NULL;
-
return next_thrd;
}