summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-07-03 13:05:13 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-07-03 13:05:13 +0000
commit189a66229203ea8ac50b0c9bb5644e97a8170ae3 (patch)
tree4ca747884ee0759044551938024b1c068079ebb9
parent2221ec7102a529d5a8718de8290cfa0001d09a79 (diff)
downloadATCD-189a66229203ea8ac50b0c9bb5644e97a8170ae3.tar.gz
ChangeLogTag: Mon Jul 3 11:41:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--TAO/TAO_IDL/ast/ast_decl.cpp4
-rw-r--r--TAO/TAO_IDL/fe/fe_init.cpp2
-rw-r--r--TAO/TAO_IDL/util/utl_stack.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/ast/ast_decl.cpp b/TAO/TAO_IDL/ast/ast_decl.cpp
index 314b17dba58..73d7e5c0ddf 100644
--- a/TAO/TAO_IDL/ast/ast_decl.cpp
+++ b/TAO/TAO_IDL/ast/ast_decl.cpp
@@ -290,7 +290,7 @@ AST_Decl::set_prefix_with_typeprefix_r (const char *value,
{
AST_Decl *decl = ScopeAsDecl (this->prefix_scope_);
- bool overridden =
+ bool const overridden =
decl->has_ancestor (ScopeAsDecl (appeared_in));
if (overridden)
@@ -1368,7 +1368,7 @@ AST_Decl::last_referenced_as (UTL_ScopedName *n)
{
this->last_referenced_as_->destroy ();
}
-
+
delete this->last_referenced_as_;
this->last_referenced_as_ = n;
}
diff --git a/TAO/TAO_IDL/fe/fe_init.cpp b/TAO/TAO_IDL/fe/fe_init.cpp
index 3faee94fae4..f7da20c2f1b 100644
--- a/TAO/TAO_IDL/fe/fe_init.cpp
+++ b/TAO/TAO_IDL/fe/fe_init.cpp
@@ -637,7 +637,7 @@ FE_init (void)
void
FE_populate (void)
{
- AST_Root *r;
+ AST_Root *r = 0;
// Check that the BE init created a generator object
if (idl_global->gen () == 0)
diff --git a/TAO/TAO_IDL/util/utl_stack.cpp b/TAO/TAO_IDL/util/utl_stack.cpp
index a5b1b944b12..71877c2b695 100644
--- a/TAO/TAO_IDL/util/utl_stack.cpp
+++ b/TAO/TAO_IDL/util/utl_stack.cpp
@@ -95,7 +95,7 @@ UTL_ScopeStack::~UTL_ScopeStack (void)
UTL_ScopeStack *
UTL_ScopeStack::push (UTL_Scope *el)
{
- UTL_Scope **tmp;
+ UTL_Scope **tmp = 0;
long ostack_data_nalloced;
long i;