From 4e65e25e257f30f2185bc4c4bd06e5b1fdb9688d Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sat, 6 Feb 2016 17:21:20 -0800 Subject: util: fix apparent statetrace bug In the process of trying to eliminate boolean comparisons, I ran across this statement that appears to be a bug (should have been an assignment). --- util/statetrace/base/tracechild.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/statetrace/base/tracechild.cc b/util/statetrace/base/tracechild.cc index d22f2fd43..ef85dad3b 100644 --- a/util/statetrace/base/tracechild.cc +++ b/util/statetrace/base/tracechild.cc @@ -108,7 +108,7 @@ TraceChild::ptraceSingleStep() default: cout << "Unknown error" << endl; break; } cout << "Not able to single step!" << endl; - tracing == false; + tracing = false; return false; } doWait(); -- cgit v1.2.3