summaryrefslogtreecommitdiff
path: root/TAO/tests/Abstract_Interface
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Abstract_Interface')
-rw-r--r--TAO/tests/Abstract_Interface/client.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tests/Abstract_Interface/client.cpp b/TAO/tests/Abstract_Interface/client.cpp
index ff8656be1e6..9e489effe51 100644
--- a/TAO/tests/Abstract_Interface/client.cpp
+++ b/TAO/tests/Abstract_Interface/client.cpp
@@ -62,14 +62,14 @@ dump_node (BaseNode* bn, int indent)
return;
}
- // This is ugly I know
- int i = indent;
- for (; i != 0; --i) ACE_DEBUG ((LM_DEBUG, " "));
-
StringNode* sn = StringNode::_downcast (bn);
if (debug)
{
+ // This is ugly I know
+ int i = indent;
+ for (; i != 0; --i) ACE_DEBUG ((LM_DEBUG, " "));
+
if (sn != 0)
{
ACE_DEBUG ((LM_DEBUG, "%x <StringNode> %C\n",