model: remove braces
authorBrian Norris <banorris@uci.edu>
Mon, 30 Apr 2012 23:35:59 +0000 (16:35 -0700)
committerBrian Norris <banorris@uci.edu>
Mon, 30 Apr 2012 23:35:59 +0000 (16:35 -0700)
model.cc

index f447c1dfa50e98139b4b1b30a7cb5d9d5a6a5060..3cc536b61cd357d4a329852930aaecdb0100575c 100644 (file)
--- a/model.cc
+++ b/model.cc
@@ -38,9 +38,8 @@ void ModelChecker::reset_to_initial_state()
 {
        DEBUG("+++ Resetting to initial state +++\n");
        std::map<thread_id_t, class Thread *>::iterator it;
-       for (it = thread_map.begin(); it != thread_map.end(); it++) {
+       for (it = thread_map.begin(); it != thread_map.end(); it++)
                delete (*it).second;
-       }
        thread_map.clear();
        action_trace = new action_list_t();
        currentNode = rootNode;