summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfche <fche>2007-11-26 15:46:36 +0000
committerfche <fche>2007-11-26 15:46:36 +0000
commit80342244a32145487eacb1391cad9df5884ced9d (patch)
tree47ecfa27d3d6322e2d5133f1630d3d5d9b147542
parent6daa64bd1c37e894ed417b5a9d0fc81631a4801b (diff)
downloadsystemtap-steved-80342244a32145487eacb1391cad9df5884ced9d.tar.gz
systemtap-steved-80342244a32145487eacb1391cad9df5884ced9d.tar.xz
systemtap-steved-80342244a32145487eacb1391cad9df5884ced9d.zip
* conditional probe thinko fix cont'd
-rw-r--r--ChangeLog1
-rw-r--r--staptree.cxx6
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 <mhiramat@redhat.com>
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<component*> 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<string>(last_probeidx ++);
}