From 80342244a32145487eacb1391cad9df5884ced9d Mon Sep 17 00:00:00 2001 From: fche Date: Mon, 26 Nov 2007 15:46:36 +0000 Subject: * conditional probe thinko fix cont'd --- ChangeLog | 1 + staptree.cxx | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c3ce7926..cde76f43 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * elaborate.cxx (derived_probe ctor): Don't duplicate condition if it doesn't exist. + * staptree.cxx (probe_point, probe ctors): Initialize to 0. 2007-11-20 Masami Hiramatsu diff --git a/staptree.cxx b/staptree.cxx index 42fc8c24..d0b4a0ed 100644 --- a/staptree.cxx +++ b/staptree.cxx @@ -76,19 +76,19 @@ symboldecl::~symboldecl () probe_point::probe_point (std::vector const & comps, const token * t): components(comps), tok(t), optional (false), sufficient (false), - condition (NULL) + condition (0) { } probe_point::probe_point (): - tok (0), optional (false), sufficient (false), condition (NULL) + tok (0), optional (false), sufficient (false), condition (0) { } unsigned probe::last_probeidx = 0; probe::probe (): - body (0), tok (0) + body (0), tok (0), condition (0) { this->name = string ("probe_") + lex_cast(last_probeidx ++); } -- cgit