From 0bd909277d1619d5e40444e5b7a9d59bbae9bc19 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Wed, 12 Nov 2003 15:23:31 -0500 Subject: [PATCH] statistics.cc: Only reactivate the original bin if it actually exists. base/statistics.cc: Only reactivate the original bin if it actually exists. --HG-- extra : convert_revision : e71ba0680d79ca439487a31d8f365429bff8c375 --- base/statistics.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/statistics.cc b/base/statistics.cc index 706d14ffb..b08715162 100644 --- a/base/statistics.cc +++ b/base/statistics.cc @@ -289,7 +289,8 @@ Database::reset() ++bi; } - orig->activate(); + if (orig) + orig->activate(); } void -- 2.30.2