projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
model: silence "uninitialized" warning
[model-checker.git]
/
model.cc
diff --git
a/model.cc
b/model.cc
index 0ef825d69d1ae135f1c7cafa934c7867ad43193a..52eab24c6790fdc472bdfc30937fa356aa319fed 100644
(file)
--- a/
model.cc
+++ b/
model.cc
@@
-441,7
+441,7
@@
ModelAction * ModelChecker::get_next_backtrack()
*/
bool ModelChecker::process_read(ModelAction *curr, bool second_part_of_rmw)
{
- uint64_t value;
+ uint64_t value
= VALUE_NONE
;
bool updated = false;
while (true) {
const ModelAction *reads_from = curr->get_node()->get_read_from();